#9D60C8#9D60C8
#9D60C8 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.0% C 0.162 H 309.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9D60C8 |
|---|---|
| RGB | rgb(157, 96, 200) |
| HSL | hsl(275, 49%, 58%) |
| HSV | hsv(275, 52%, 78%) |
| CMYK | cmyk(21.5%, 52%, 0%, 21.6%) |
| CIE-LAB | lab(51.50, 43.75, -44.74) |
| CIE-LCH | lch(51.50, 62.58, 314.36°) |
| OKLab | oklab(60.02% 0.103 -0.1253) |
| OKLCH | oklch(60.02% 0.162 309.4) |
| XYZ | xyz(28.5108, 19.7044, 56.9338) |
| Luminance | 0.1970 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.43
Deep Lavender
#8D5EB7
ΔE00 4.01
Deep Lilac
#966EBD
ΔE00 4.83
Lightish Purple
#A552E6
ΔE00 5.37
Mediumorchid
#BA55D3
ΔE00 5.55
Mediumpurple
#9370DB
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D60C8 #8BC860
analogous
#6960C8 #9D60C8 #C860BF
triadic
#9D60C8 #C89D60 #60C89D
tetradic
#9D60C8 #C86960 #8BC860 #60BFC8
square
#9D60C8 #C86960 #8BC860 #60BFC8
split-complementary
#9D60C8 #BFC860 #60C869
monochromatic
#5E2D81 #7F3CAE #9D60C8 #B98DD8 #D5BBE7
Accessibility & contrast
On white
4.25
#9D60C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#9D60C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D60C8
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D60C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D60C8 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4378CC
Deuteranopia (green-blind)
#567CC5
Tritanopia (blue-blind)
#97728B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9d60c8; /* rgb */ color: rgb(157, 96, 200); /* oklch */ color: oklch(60.0% 0.162 309.4);
Tailwind
colors: {
custom: {
50: '#bc8fd9',
500: '#9d60c8',
950: '#000000',
},
}SCSS
$custom: #9d60c8; $custom-light: #bc8fd9; $custom-dark: #000000;
JSON
{
"hex": "#9d60c8",
"rgb": {
"r": 157,
"g": 96,
"b": 200
},
"hsl": {
"h": 275.192,
"s": 48.598,
"l": 58.039
},
"oklch": {
"l": 0.60017,
"c": 0.16221,
"h": 309.4
},
"luminance": 0.19704
}Semantic roles & 50–950 ramp
primary
#9D60C8
secondary
#BED7AD
accent
#D85088
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C15
muted
#817D83