#9C51DD#9C51DD
#9C51DD is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.1% C 0.208 H 305.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9C51DD |
|---|---|
| RGB | rgb(156, 81, 221) |
| HSL | hsl(272, 67%, 59%) |
| HSV | hsv(272, 63%, 87%) |
| CMYK | cmyk(29.4%, 63.3%, 0%, 13.3%) |
| CIE-LAB | lab(49.71, 56.08, -59.60) |
| CIE-LCH | lch(49.71, 81.84, 313.26°) |
| OKLab | oklab(59.08% 0.1208 -0.1688) |
| OKLCH | oklch(59.08% 0.208 305.6) |
| XYZ | xyz(29.7010, 18.1735, 70.3357) |
| Luminance | 0.1817 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.07
Purpley
#8756E4
ΔE00 4.21
Lighter Purple
#A55AF4
ΔE00 4.49
Amethyst
#9B5FC0
ΔE00 5.82
Electric Purple
#AA23FF
ΔE00 6.44
Mediumorchid
#BA55D3
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C51DD #92DD51
analogous
#5651DD #9C51DD #DD51D8
triadic
#9C51DD #DD9C51 #51DD9C
tetradic
#9C51DD #DD5651 #92DD51 #51D8DD
square
#9C51DD #DD5651 #92DD51 #51D8DD
split-complementary
#9C51DD #D8DD51 #51DD56
monochromatic
#5E1D96 #7E27C9 #9C51DD #B984E7 #D6B7F1
Accessibility & contrast
On white
4.53
#9C51DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#9C51DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C51DD
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C51DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C51DD | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#2F76DA
Tritanopia (blue-blind)
#916E90
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9c51dd; /* rgb */ color: rgb(156, 81, 221); /* oklch */ color: oklch(59.1% 0.208 305.6);
Tailwind
colors: {
custom: {
50: '#be86e8',
500: '#9c51dd',
950: '#000000',
},
}SCSS
$custom: #9c51dd; $custom-light: #be86e8; $custom-dark: #000000;
JSON
{
"hex": "#9c51dd",
"rgb": {
"r": 156,
"g": 81,
"b": 221
},
"hsl": {
"h": 272.143,
"s": 67.308,
"l": 59.216
},
"oklch": {
"l": 0.59075,
"c": 0.20754,
"h": 305.6
},
"luminance": 0.18173
}Semantic roles & 50–950 ramp
primary
#9C51DD
secondary
#C3E0AA
accent
#EA3E8E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84