#732AA2#732AA2
#732AA2 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.185 H 308.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #732AA2 |
|---|---|
| RGB | rgb(115, 42, 162) |
| HSL | hsl(277, 59%, 40%) |
| HSV | hsv(277, 74%, 64%) |
| CMYK | cmyk(29%, 74.1%, 0%, 36.5%) |
| CIE-LAB | lab(33.79, 52.03, -51.08) |
| CIE-LCH | lch(33.79, 72.91, 315.53°) |
| OKLab | oklab(45.25% 0.1149 -0.1449) |
| OKLCH | oklch(45.25% 0.185 308.4) |
| XYZ | xyz(14.4184, 7.9096, 34.9426) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.93
Rebeccapurple
#663399
ΔE00 3.03
Darkmagenta
#8B008B
ΔE00 7.56
Purple Blue
#5D21D0
ΔE00 7.87
Darkviolet
#9400D3
ΔE00 7.92
Purple
#800080
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#732AA2 #59A22A
analogous
#372AA2 #732AA2 #A22A95
triadic
#732AA2 #A2732A #2AA273
tetradic
#732AA2 #A2372A #59A22A #2A95A2
square
#732AA2 #A2372A #59A22A #2A95A2
split-complementary
#732AA2 #95A22A #2AA237
monochromatic
#2E1141 #511D71 #732AA2 #943DCD #AF6DD9
Accessibility & contrast
On white
8.13
#732AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#732AA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #732AA2
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##732AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##732AA2 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#02509F
Tritanopia (blue-blind)
#6C4664
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #732aa2; /* rgb */ color: rgb(115, 42, 162); /* oklch */ color: oklch(45.2% 0.185 308.4);
Tailwind
colors: {
custom: {
50: '#a06bbe',
500: '#732aa2',
950: '#000000',
},
}SCSS
$custom: #732aa2; $custom-light: #a06bbe; $custom-dark: #000000;
JSON
{
"hex": "#732aa2",
"rgb": {
"r": 115,
"g": 42,
"b": 162
},
"hsl": {
"h": 276.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.45249,
"c": 0.1849,
"h": 308.4
},
"luminance": 0.07909
}Semantic roles & 50–950 ramp
primary
#732AA2
secondary
#8AC068
accent
#E24683
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81