#912EA3#912EA3
#912EA3 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.192 H 321.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #912EA3 |
|---|---|
| RGB | rgb(145, 46, 163) |
| HSL | hsl(291, 56%, 41%) |
| HSV | hsv(291, 72%, 64%) |
| CMYK | cmyk(11%, 71.8%, 0%, 36.1%) |
| CIE-LAB | lab(38.93, 56.93, -43.17) |
| CIE-LCH | lch(38.93, 71.45, 322.82°) |
| OKLab | oklab(49.85% 0.1494 -0.1208) |
| OKLCH | oklch(49.85% 0.192 321) |
| XYZ | xyz(19.2642, 10.6191, 35.6782) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.26
Warm Purple
#952E8F
ΔE00 4.26
Barney Purple
#A00498
ΔE00 4.57
Purple (survey)
#7E1E9C
ΔE00 4.89
Barney
#AC1DB8
ΔE00 5.04
Medium Purple
#9E43A2
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912EA3 #40A32E
analogous
#562EA3 #912EA3 #A32E7A
triadic
#912EA3 #A3912E #2EA391
tetradic
#912EA3 #A3562E #40A32E #2E7AA3
square
#912EA3 #A3562E #40A32E #2E7AA3
split-complementary
#912EA3 #7AA32E #2EA356
monochromatic
#3C1344 #672173 #912EA3 #B644CA #C874D8
Accessibility & contrast
On white
6.72
#912EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#912EA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912EA3
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912EA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912EA3 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#3B5FA0
Tritanopia (blue-blind)
#924466
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #912ea3; /* rgb */ color: rgb(145, 46, 163); /* oklch */ color: oklch(49.8% 0.192 321.0);
Tailwind
colors: {
custom: {
50: '#b570bf',
500: '#912ea3',
950: '#000000',
},
}SCSS
$custom: #912ea3; $custom-light: #b570bf; $custom-dark: #000000;
JSON
{
"hex": "#912ea3",
"rgb": {
"r": 145,
"g": 46,
"b": 163
},
"hsl": {
"h": 290.769,
"s": 55.981,
"l": 40.98
},
"oklch": {
"l": 0.49845,
"c": 0.19207,
"h": 321
},
"luminance": 0.10618
}Semantic roles & 50–950 ramp
primary
#912EA3
secondary
#7ABF6D
accent
#DF4960
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81