#912FA3#912FA3
#912FA3 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.191 H 321.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #912FA3 |
|---|---|
| RGB | rgb(145, 47, 163) |
| HSL | hsl(291, 55%, 41%) |
| HSV | hsv(291, 71%, 64%) |
| CMYK | cmyk(11%, 71.2%, 0%, 36.1%) |
| CIE-LAB | lab(39.07, 56.54, -42.96) |
| CIE-LCH | lch(39.07, 71.01, 322.78°) |
| OKLab | oklab(49.94% 0.1483 -0.1201) |
| OKLCH | oklch(49.94% 0.191 321) |
| XYZ | xyz(19.3037, 10.6981, 35.6914) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.13
Warm Purple
#952E8F
ΔE00 4.24
Barney Purple
#A00498
ΔE00 4.66
Purple (survey)
#7E1E9C
ΔE00 5.00
Barney
#AC1DB8
ΔE00 5.03
Medium Purple
#9E43A2
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912FA3 #41A32F
analogous
#572FA3 #912FA3 #A32F7B
triadic
#912FA3 #A3912F #2FA391
tetradic
#912FA3 #A3572F #41A32F #2F7BA3
square
#912FA3 #A3572F #41A32F #2F7BA3
split-complementary
#912FA3 #7BA32F #2FA357
monochromatic
#3C1444 #672173 #912FA3 #B546CA #C875D7
Accessibility & contrast
On white
6.69
#912FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#912FA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912FA3
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912FA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912FA3 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#3C60A0
Tritanopia (blue-blind)
#924466
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #912fa3; /* rgb */ color: rgb(145, 47, 163); /* oklch */ color: oklch(49.9% 0.191 321.0);
Tailwind
colors: {
custom: {
50: '#b571bf',
500: '#912fa3',
950: '#000000',
},
}SCSS
$custom: #912fa3; $custom-light: #b571bf; $custom-dark: #000000;
JSON
{
"hex": "#912fa3",
"rgb": {
"r": 145,
"g": 47,
"b": 163
},
"hsl": {
"h": 290.69,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.49942,
"c": 0.19087,
"h": 321
},
"luminance": 0.10697
}Semantic roles & 50–950 ramp
primary
#912FA3
secondary
#7BBF6F
accent
#DF4960
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81