#912CA3#912CA3
#912CA3 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.194 H 321.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #912CA3 |
|---|---|
| RGB | rgb(145, 44, 163) |
| HSL | hsl(291, 57%, 41%) |
| HSV | hsv(291, 73%, 64%) |
| CMYK | cmyk(11%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(38.67, 57.68, -43.60) |
| CIE-LCH | lch(38.67, 72.30, 322.92°) |
| OKLab | oklab(49.66% 0.1514 -0.122) |
| OKLCH | oklch(49.66% 0.194 321.1) |
| XYZ | xyz(19.1878, 10.4665, 35.6528) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.31
Barney Purple
#A00498
ΔE00 4.42
Purply
#983FB2
ΔE00 4.50
Purple (survey)
#7E1E9C
ΔE00 4.67
Barney
#AC1DB8
ΔE00 5.07
Medium Purple
#9E43A2
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912CA3 #3EA32C
analogous
#552CA3 #912CA3 #A32C7A
triadic
#912CA3 #A3912C #2CA391
tetradic
#912CA3 #A3552C #3EA32C #2C7AA3
square
#912CA3 #A3552C #3EA32C #2C7AA3
split-complementary
#912CA3 #7AA32C #2CA355
monochromatic
#3B1243 #661F73 #912CA3 #B741CC #C971D9
Accessibility & contrast
On white
6.79
#912CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#912CA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912CA3
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912CA3 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#924365
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #912ca3; /* rgb */ color: rgb(145, 44, 163); /* oklch */ color: oklch(49.7% 0.194 321.1);
Tailwind
colors: {
custom: {
50: '#b56fbf',
500: '#912ca3',
950: '#000000',
},
}SCSS
$custom: #912ca3; $custom-light: #b56fbf; $custom-dark: #000000;
JSON
{
"hex": "#912ca3",
"rgb": {
"r": 145,
"g": 44,
"b": 163
},
"hsl": {
"h": 290.924,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.49656,
"c": 0.19441,
"h": 321.1
},
"luminance": 0.10465
}Semantic roles & 50–950 ramp
primary
#912CA3
secondary
#78C06B
accent
#E1475E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81