#912899#912899
#912899 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.190 H 324.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #912899 |
|---|---|
| RGB | rgb(145, 40, 153) |
| HSL | hsl(296, 59%, 38%) |
| HSV | hsv(296, 74%, 60%) |
| CMYK | cmyk(5.2%, 73.9%, 0%, 40%) |
| CIE-LAB | lab(37.55, 57.29, -39.34) |
| CIE-LCH | lch(37.55, 69.50, 325.52°) |
| OKLab | oklab(48.66% 0.1558 -0.1095) |
| OKLCH | oklch(48.66% 0.19 324.9) |
| XYZ | xyz(18.1852, 9.8384, 31.0720) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.82
Barney Purple
#A00498
ΔE00 3.24
Darkmagenta
#8B008B
ΔE00 4.44
Purple (survey)
#7E1E9C
ΔE00 4.77
Purply
#983FB2
ΔE00 5.96
Barney
#AC1DB8
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912899 #309928
analogous
#582899 #912899 #992868
triadic
#912899 #999128 #289991
tetradic
#912899 #995828 #309928 #286899
square
#912899 #995828 #309928 #286899
split-complementary
#912899 #689928 #289958
monochromatic
#350F38 #631B68 #912899 #BF35CA #CF65D7
Accessibility & contrast
On white
7.08
#912899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#912899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912899
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912899 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#01509C
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#943C5E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #912899; /* rgb */ color: rgb(145, 40, 153); /* oklch */ color: oklch(48.7% 0.190 324.9);
Tailwind
colors: {
custom: {
50: '#b56db7',
500: '#912899',
950: '#000000',
},
}SCSS
$custom: #912899; $custom-light: #b56db7; $custom-dark: #000000;
JSON
{
"hex": "#912899",
"rgb": {
"r": 145,
"g": 40,
"b": 153
},
"hsl": {
"h": 295.752,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.48663,
"c": 0.19045,
"h": 324.9
},
"luminance": 0.09837
}Semantic roles & 50–950 ramp
primary
#912899
secondary
#67BD60
accent
#E24651
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80