#912DD3#912DD3
#912DD3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.2% C 0.236 H 307.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #912DD3 |
|---|---|
| RGB | rgb(145, 45, 211) |
| HSL | hsl(276, 65%, 50%) |
| HSV | hsv(276, 79%, 83%) |
| CMYK | cmyk(31.3%, 78.7%, 0%, 17.3%) |
| CIE-LAB | lab(42.15, 66.98, -66.18) |
| CIE-LCH | lch(42.15, 94.16, 315.34°) |
| OKLab | oklab(53.18% 0.1427 -0.1883) |
| OKLCH | oklch(53.18% 0.236 307.2) |
| XYZ | xyz(24.3708, 12.6000, 62.7636) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.15
Blueviolet
#8A2BE2
ΔE00 2.43
Violet (survey)
#9A0EEA
ΔE00 3.18
Darkviolet
#9400D3
ΔE00 3.19
Vibrant Purple
#AD03DE
ΔE00 4.43
Vivid Purple
#9900FA
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912DD3 #6FD32D
analogous
#3E2DD3 #912DD3 #D32DC2
triadic
#912DD3 #D3912D #2DD391
tetradic
#912DD3 #D33E2D #6FD32D #2DC2D3
square
#912DD3 #D33E2D #6FD32D #2DC2D3
split-complementary
#912DD3 #C2D32D #2DD33E
monochromatic
#4C176E #6E22A1 #912DD3 #AC60DE #C692E8
Accessibility & contrast
On white
5.97
#912DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#912DD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912DD3
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912DD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912DD3 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#865880
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #912dd3; /* rgb */ color: rgb(145, 45, 211); /* oklch */ color: oklch(53.2% 0.236 307.2);
Tailwind
colors: {
custom: {
50: '#b772e2',
500: '#912dd3',
950: '#000000',
},
}SCSS
$custom: #912dd3; $custom-light: #b772e2; $custom-dark: #000000;
JSON
{
"hex": "#912dd3",
"rgb": {
"r": 145,
"g": 45,
"b": 211
},
"hsl": {
"h": 276.145,
"s": 65.354,
"l": 50.196
},
"oklch": {
"l": 0.53179,
"c": 0.23625,
"h": 307.2
},
"luminance": 0.126
}Semantic roles & 50–950 ramp
primary
#912DD3
secondary
#A6D389
accent
#E83F83
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83