#9D60DC#9D60DC
#9D60DC is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.2% C 0.185 H 304.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9D60DC |
|---|---|
| RGB | rgb(157, 96, 220) |
| HSL | hsl(270, 64%, 62%) |
| HSV | hsv(270, 56%, 86%) |
| CMYK | cmyk(28.6%, 56.4%, 0%, 13.7%) |
| CIE-LAB | lab(52.62, 48.40, -54.35) |
| CIE-LCH | lch(52.62, 72.78, 311.69°) |
| OKLab | oklab(61.2% 0.1041 -0.1534) |
| OKLCH | oklch(61.2% 0.185 304.2) |
| XYZ | xyz(31.0029, 20.7013, 70.0587) |
| Luminance | 0.2070 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.31
Lighter Purple
#A55AF4
ΔE00 3.56
Amethyst
#9B5FC0
ΔE00 4.77
Mediumpurple
#9370DB
ΔE00 4.81
Purpley
#8756E4
ΔE00 5.43
Mediumorchid
#BA55D3
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D60DC #9FDC60
analogous
#6061DC #9D60DC #DB60DC
triadic
#9D60DC #DC9D60 #60DC9D
tetradic
#9D60DC #DC6061 #9FDC60 #60DCDB
square
#9D60DC #DC6061 #9FDC60 #60DCDB
split-complementary
#9D60DC #DCDB60 #61DC60
monochromatic
#60239F #7E2ED1 #9D60DC #BC92E7 #DBC4F2
Accessibility & contrast
On white
4.09
#9D60DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#9D60DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D60DC
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D60DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D60DC | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#467ED9
Tritanopia (blue-blind)
#927895
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9d60dc; /* rgb */ color: rgb(157, 96, 220); /* oklch */ color: oklch(61.2% 0.185 304.2);
Tailwind
colors: {
custom: {
50: '#bd8fe7',
500: '#9d60dc',
950: '#000000',
},
}SCSS
$custom: #9d60dc; $custom-light: #bd8fe7; $custom-dark: #000000;
JSON
{
"hex": "#9d60dc",
"rgb": {
"r": 157,
"g": 96,
"b": 220
},
"hsl": {
"h": 269.516,
"s": 63.918,
"l": 61.961
},
"oklch": {
"l": 0.61204,
"c": 0.18536,
"h": 304.2
},
"luminance": 0.20701
}Semantic roles & 50–950 ramp
primary
#9D60DC
secondary
#CCE3B5
accent
#CC1A74
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120D16
muted
#817D84