#912CBD#912CBD
#912CBD is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.217 H 313.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #912CBD |
|---|---|
| RGB | rgb(145, 44, 189) |
| HSL | hsl(282, 62%, 46%) |
| HSV | hsv(282, 77%, 74%) |
| CMYK | cmyk(23.3%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(40.40, 62.76, -56.23) |
| CIE-LCH | lch(40.40, 84.27, 318.14°) |
| OKLab | oklab(51.44% 0.1482 -0.159) |
| OKLCH | oklch(51.44% 0.217 313) |
| XYZ | xyz(21.7614, 11.4959, 49.2068) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.90
Darkviolet
#9400D3
ΔE00 3.88
Purply
#983FB2
ΔE00 4.42
Barney
#AC1DB8
ΔE00 5.13
Blueviolet
#8A2BE2
ΔE00 5.52
Vibrant Purple
#AD03DE
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912CBD #58BD2C
analogous
#482CBD #912CBD #BD2CA0
triadic
#912CBD #BD912C #2CBD91
tetradic
#912CBD #BD482C #58BD2C #2CA0BD
square
#912CBD #BD482C #58BD2C #2CA0BD
split-complementary
#912CBD #A0BD2C #2CBD48
monochromatic
#45155A #6B208B #912CBD #AD50D6 #C582E2
Accessibility & contrast
On white
6.37
#912CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#912CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912CBD
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912CBD | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#1961BA
Tritanopia (blue-blind)
#8C4E74
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #912cbd; /* rgb */ color: rgb(145, 44, 189); /* oklch */ color: oklch(51.4% 0.217 313.0);
Tailwind
colors: {
custom: {
50: '#b670d2',
500: '#912cbd',
950: '#000000',
},
}SCSS
$custom: #912cbd; $custom-light: #b670d2; $custom-dark: #000000;
JSON
{
"hex": "#912cbd",
"rgb": {
"r": 145,
"g": 44,
"b": 189
},
"hsl": {
"h": 281.793,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.51439,
"c": 0.21736,
"h": 313
},
"luminance": 0.11495
}Semantic roles & 50–950 ramp
primary
#912CBD
secondary
#93CB7A
accent
#E54274
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83