#912DCE#912DCE
#912DCE is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.8% C 0.232 H 308.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #912DCE |
|---|---|
| RGB | rgb(145, 45, 206) |
| HSL | hsl(277, 64%, 49%) |
| HSV | hsv(277, 78%, 81%) |
| CMYK | cmyk(29.6%, 78.2%, 0%, 19.2%) |
| CIE-LAB | lab(41.77, 65.93, -63.92) |
| CIE-LCH | lch(41.77, 91.83, 315.89°) |
| OKLab | oklab(52.79% 0.1439 -0.1816) |
| OKLCH | oklch(52.79% 0.232 308.4) |
| XYZ | xyz(23.7537, 12.3531, 59.5136) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.91
Blueviolet
#8A2BE2
ΔE00 3.07
Darkviolet
#9400D3
ΔE00 3.09
Violet (survey)
#9A0EEA
ΔE00 3.72
Vibrant Purple
#AD03DE
ΔE00 4.56
Vivid Purple
#9900FA
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912DCE #6ACE2D
analogous
#412DCE #912DCE #CE2DBB
triadic
#912DCE #CE912D #2DCE91
tetradic
#912DCE #CE412D #6ACE2D #2DBBCE
square
#912DCE #CE412D #6ACE2D #2DBBCE
split-complementary
#912DCE #BBCE2D #2DCE41
monochromatic
#4A176A #6E229C #912DCE #AB5DDC #C58FE7
Accessibility & contrast
On white
6.05
#912DCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#912DCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912DCE
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912DCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912DCE | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#87567E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #912dce; /* rgb */ color: rgb(145, 45, 206); /* oklch */ color: oklch(52.8% 0.232 308.4);
Tailwind
colors: {
custom: {
50: '#b772de',
500: '#912dce',
950: '#000000',
},
}SCSS
$custom: #912dce; $custom-light: #b772de; $custom-dark: #000000;
JSON
{
"hex": "#912dce",
"rgb": {
"r": 145,
"g": 45,
"b": 206
},
"hsl": {
"h": 277.267,
"s": 64.143,
"l": 49.216
},
"oklch": {
"l": 0.52792,
"c": 0.23171,
"h": 308.4
},
"luminance": 0.12353
}Semantic roles & 50–950 ramp
primary
#912DCE
secondary
#A2D186
accent
#E74180
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83