#912BA2#912BA2
#912BA2 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.195 H 321.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #912BA2 |
|---|---|
| RGB | rgb(145, 43, 162) |
| HSL | hsl(291, 58%, 40%) |
| HSV | hsv(291, 73%, 64%) |
| CMYK | cmyk(10.5%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(38.48, 57.86, -43.30) |
| CIE-LCH | lch(38.48, 72.27, 323.19°) |
| OKLab | oklab(49.5% 0.1524 -0.1211) |
| OKLCH | oklch(49.5% 0.195 321.5) |
| XYZ | xyz(19.0618, 10.3572, 35.1705) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.17
Barney Purple
#A00498
ΔE00 4.24
Purple (survey)
#7E1E9C
ΔE00 4.58
Purply
#983FB2
ΔE00 4.71
Barney
#AC1DB8
ΔE00 5.15
Darkmagenta
#8B008B
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912BA2 #3CA22B
analogous
#562BA2 #912BA2 #A22B77
triadic
#912BA2 #A2912B #2BA291
tetradic
#912BA2 #A2562B #3CA22B #2B77A2
square
#912BA2 #A2562B #3CA22B #2B77A2
split-complementary
#912BA2 #77A22B #2BA256
monochromatic
#3A1141 #661E72 #912BA2 #B83ECC #CA6FD9
Accessibility & contrast
On white
6.84
#912BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#912BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912BA2
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912BA2 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#3A5E9F
Tritanopia (blue-blind)
#924164
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #912ba2; /* rgb */ color: rgb(145, 43, 162); /* oklch */ color: oklch(49.5% 0.195 321.5);
Tailwind
colors: {
custom: {
50: '#b56fbe',
500: '#912ba2',
950: '#000000',
},
}SCSS
$custom: #912ba2; $custom-light: #b56fbe; $custom-dark: #000000;
JSON
{
"hex": "#912ba2",
"rgb": {
"r": 145,
"g": 43,
"b": 162
},
"hsl": {
"h": 291.429,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.495,
"c": 0.19468,
"h": 321.5
},
"luminance": 0.10356
}Semantic roles & 50–950 ramp
primary
#912BA2
secondary
#75C069
accent
#E1475D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81