#912AA6#912AA6
#912AA6 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.199 H 320.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #912AA6 |
|---|---|
| RGB | rgb(145, 42, 166) |
| HSL | hsl(290, 60%, 41%) |
| HSV | hsv(290, 75%, 65%) |
| CMYK | cmyk(12.7%, 74.7%, 0%, 34.9%) |
| CIE-LAB | lab(38.60, 58.97, -45.50) |
| CIE-LCH | lch(38.60, 74.48, 322.35°) |
| OKLab | oklab(49.67% 0.1531 -0.1275) |
| OKLCH | oklch(49.67% 0.199 320.2) |
| XYZ | xyz(19.3871, 10.4298, 37.0610) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.47
Purply
#983FB2
ΔE00 4.54
Barney Purple
#A00498
ΔE00 4.64
Warm Purple
#952E8F
ΔE00 4.88
Barney
#AC1DB8
ΔE00 4.94
Darkmagenta
#8B008B
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912AA6 #3FA62A
analogous
#532AA6 #912AA6 #A62A7D
triadic
#912AA6 #A6912A #2AA691
tetradic
#912AA6 #A6532A #3FA62A #2A7DA6
square
#912AA6 #A6532A #3FA62A #2A7DA6
split-complementary
#912AA6 #7DA62A #2AA653
monochromatic
#3C1144 #661E75 #912AA6 #B63FCE #C970DB
Accessibility & contrast
On white
6.81
#912AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#912AA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912AA6
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912AA6 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#365EA3
Tritanopia (blue-blind)
#924366
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #912aa6; /* rgb */ color: rgb(145, 42, 166); /* oklch */ color: oklch(49.7% 0.199 320.2);
Tailwind
colors: {
custom: {
50: '#b56fc1',
500: '#912aa6',
950: '#000000',
},
}SCSS
$custom: #912aa6; $custom-light: #b56fc1; $custom-dark: #000000;
JSON
{
"hex": "#912aa6",
"rgb": {
"r": 145,
"g": 42,
"b": 166
},
"hsl": {
"h": 289.839,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.49671,
"c": 0.19924,
"h": 320.2
},
"luminance": 0.10429
}Semantic roles & 50–950 ramp
primary
#912AA6
secondary
#79C26A
accent
#E34560
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81