#9936CD#9936CD
#9936CD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.6% C 0.224 H 311.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9936CD |
|---|---|
| RGB | rgb(153, 54, 205) |
| HSL | hsl(279, 60%, 51%) |
| HSV | hsv(279, 74%, 80%) |
| CMYK | cmyk(25.4%, 73.7%, 0%, 19.6%) |
| CIE-LAB | lab(43.97, 63.87, -59.72) |
| CIE-LCH | lch(43.97, 87.44, 316.92°) |
| OKLab | oklab(54.55% 0.1468 -0.1691) |
| OKLCH | oklch(54.55% 0.224 311) |
| XYZ | xyz(25.4734, 13.8190, 59.0712) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.65
Vibrant Purple
#AD03DE
ΔE00 4.00
Purply
#983FB2
ΔE00 4.49
Blueviolet
#8A2BE2
ΔE00 4.52
Violet (survey)
#9A0EEA
ΔE00 4.67
Darkviolet
#9400D3
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9936CD #6ACD36
analogous
#4D36CD #9936CD #CD36B5
triadic
#9936CD #CD9936 #36CD99
tetradic
#9936CD #CD4D36 #6ACD36 #36B5CD
square
#9936CD #CD4D36 #6ACD36 #36B5CD
split-complementary
#9936CD #B5CD36 #36CD4D
monochromatic
#511B6D #75279E #9936CD #B267D9 #CB98E5
Accessibility & contrast
On white
5.58
#9936CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#9936CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9936CD
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9936CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9936CD | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#196ACA
Tritanopia (blue-blind)
#92597F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9936cd; /* rgb */ color: rgb(153, 54, 205); /* oklch */ color: oklch(54.6% 0.224 311.0);
Tailwind
colors: {
custom: {
50: '#bc77dd',
500: '#9936cd',
950: '#000000',
},
}SCSS
$custom: #9936cd; $custom-light: #bc77dd; $custom-dark: #000000;
JSON
{
"hex": "#9936cd",
"rgb": {
"r": 153,
"g": 54,
"b": 205
},
"hsl": {
"h": 279.338,
"s": 60.159,
"l": 50.784
},
"oklch": {
"l": 0.54552,
"c": 0.22394,
"h": 311
},
"luminance": 0.13818
}Semantic roles & 50–950 ramp
primary
#9936CD
secondary
#A5D18E
accent
#E3447B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83