Software & SaaS
Terraform Color Codes
Terraform's color is purple #7B42BC. The Terraform color codes in Hex, RGB and CMYK can be found below. Mitchell Hashimoto and others created it at HashiCorp in 2014. In August 2023 the license moved from the Mozilla Public License to the Business Source License, and the community forked it within days as OpenTofu, now held by the Linux Foundation.
Primary colors
What are Terraform Primary Colors?
Terraform's primary color is purple #7B42BC, a mid violet-purple rather than a blue-leaning indigo.
HashiCorp publishes this value in its Helios design system, so the hex here is a published value rather than a sample.
Terraform Purple
| Hex | #7B42BC |
|---|---|
| RGB | 123, 66, 188 |
| HSL | hsl(268, 48%, 50%) |
| CMYK | 35%, 65%, 0%, 26%converted · approximate |
| Pantone | PMS 2665 Cnearest match · not published by the brand |
Terraform Hex Color Codes
Terraform hex color codes are #7B42BC for purple.
| Color | Hex |
|---|---|
| Purple | #7B42BC |
Terraform RGB Color Codes
Terraform RGB color codes are 123, 66, 188 for purple. Reach for RGB when a tool wants channel numbers or a CSS alpha value.
| Color | RGB |
|---|---|
| Purple | rgb(123, 66, 188) |
Terraform HSL Color Codes
Terraform HSL color codes are 268, 48%, 50% for purple. Change the third value for a lighter or darker version without moving the hue.
| Color | HSL |
|---|---|
| Purple | hsl(268, 48%, 50%) |
Terraform CMYK Color Code
Terraform CMYK color codes are conversions from the hex, because the brand publishes none. Check a printed proof before a full run.
| Color | CMYK |
|---|---|
| Purple | 35%, 65%, 0%, 26% |
Terraform Pantone Color Codes
Terraform Pantone color codes are nearest matches by color distance, not brand specs. The table shows the closest swatch for every color.
| Color | Nearest Pantone |
|---|---|
| Purple | PMS 2665 C |
Logo
Terraform Logo Colors
Terraform logo colors are one purple, applied flat to the stacked blocks that form the mark.
Terraform Logo Colors Palette
What the Terraform Logo Colors Mean?
The Terraform logo colors identify a product inside a family rather than a company. HashiCorp gives each tool its own hue, and purple is Terraform's; Vault is yellow, Consul is pink. The mark is built from parallelograms stacked into a T, which reads as infrastructure assembled from parts, and that is the argument of the tool. Check the value before you match it: a HashiCorp corporate yellow near #FFDA18 circulates widely as Terraform's color and belongs to the parent brand, not to this product.
Terraform Logo Color History
Terraform logo color history runs through two purples. An earlier indigo near #5C4EE5 appears on older assets and still circulates on logo archives. The current published value in HashiCorp's Helios design system is #7B42BC, with #A067DA specified for dark backgrounds.
Terraform Logo JPG
Terraform logo in JPG. No transparency, so it is flattened onto white. Safe for documents and slide decks.
Terraform Logo PNG
Terraform logo in PNG, with a transparent background. Use it over a colored surface.
Terraform Logo WebP
Terraform logo in WebP. Same transparency as the PNG at about a third of the file size.
Terraform Color Code Shades
Terraform color code shades step evenly from the primary toward black, for hover states, borders and shadows.
These are interface steps, not Terraform paint or trim names.
In code
Using the Terraform palette
CSS custom properties
:root {
--terraform-purple: #7B42BC;
}
Contrast against white
| Purple | 6.27:1AA ✓ |
|---|
Brand colors are chosen for recognition, not for legibility. A failing value here is normal. It means use it as a fill, not as text.