#912EA8#912EA8
#912EA8 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.196 H 319.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #912EA8 |
|---|---|
| RGB | rgb(145, 46, 168) |
| HSL | hsl(289, 57%, 42%) |
| HSV | hsv(289, 73%, 66%) |
| CMYK | cmyk(13.7%, 72.6%, 0%, 34.1%) |
| CIE-LAB | lab(39.24, 57.88, -45.67) |
| CIE-LCH | lch(39.24, 73.73, 321.73°) |
| OKLab | oklab(50.17% 0.149 -0.128) |
| OKLCH | oklch(50.17% 0.196 319.3) |
| XYZ | xyz(19.7210, 10.8018, 38.0844) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.90
Barney
#AC1DB8
ΔE00 4.77
Purple (survey)
#7E1E9C
ΔE00 4.92
Warm Purple
#952E8F
ΔE00 5.12
Barney Purple
#A00498
ΔE00 5.15
Darkorchid
#9932CC
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912EA8 #45A82E
analogous
#542EA8 #912EA8 #A82E82
triadic
#912EA8 #A8912E #2EA891
tetradic
#912EA8 #A8542E #45A82E #2E82A8
square
#912EA8 #A8542E #45A82E #2E82A8
split-complementary
#912EA8 #82A82E #2EA854
monochromatic
#3E1448 #682178 #912EA8 #B347CD #C777DA
Accessibility & contrast
On white
6.65
#912EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#912EA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912EA8
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912EA8 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#3760A5
Tritanopia (blue-blind)
#914668
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #912ea8; /* rgb */ color: rgb(145, 46, 168); /* oklch */ color: oklch(50.2% 0.196 319.3);
Tailwind
colors: {
custom: {
50: '#b570c2',
500: '#912ea8',
950: '#000000',
},
}SCSS
$custom: #912ea8; $custom-light: #b570c2; $custom-dark: #000000;
JSON
{
"hex": "#912ea8",
"rgb": {
"r": 145,
"g": 46,
"b": 168
},
"hsl": {
"h": 288.689,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.50169,
"c": 0.19648,
"h": 319.3
},
"luminance": 0.10801
}Semantic roles & 50–950 ramp
primary
#912EA8
secondary
#80C270
accent
#E04864
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81