#9B60CB#9B60CB
#9B60CB is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.0% C 0.165 H 307.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9B60CB |
|---|---|
| RGB | rgb(155, 96, 203) |
| HSL | hsl(273, 51%, 59%) |
| HSV | hsv(273, 53%, 80%) |
| CMYK | cmyk(23.6%, 52.7%, 0%, 20.4%) |
| CIE-LAB | lab(51.44, 43.91, -46.58) |
| CIE-LCH | lch(51.44, 64.01, 313.31°) |
| OKLab | oklab(59.97% 0.1008 -0.1307) |
| OKLCH | oklch(59.97% 0.165 307.6) |
| XYZ | xyz(28.4778, 19.6464, 58.7803) |
| Luminance | 0.1965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.03
Deep Lavender
#8D5EB7
ΔE00 4.08
Lightish Purple
#A552E6
ΔE00 4.95
Deep Lilac
#966EBD
ΔE00 5.05
Mediumpurple
#9370DB
ΔE00 5.76
Mediumorchid
#BA55D3
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B60CB #90CB60
analogous
#6560CB #9B60CB #CB60C5
triadic
#9B60CB #CB9B60 #60CB9B
tetradic
#9B60CB #CB6560 #90CB60 #60C5CB
square
#9B60CB #CB6560 #90CB60 #60C5CB
split-complementary
#9B60CB #C5CB60 #60CB65
monochromatic
#5D2C85 #7D3BB3 #9B60CB #B88EDA #D5BCE9
Accessibility & contrast
On white
4.26
#9B60CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#9B60CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B60CB
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B60CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B60CB | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#94738C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9b60cb; /* rgb */ color: rgb(155, 96, 203); /* oklch */ color: oklch(60.0% 0.165 307.6);
Tailwind
colors: {
custom: {
50: '#bb8fdb',
500: '#9b60cb',
950: '#000000',
},
}SCSS
$custom: #9b60cb; $custom-light: #bb8fdb; $custom-dark: #000000;
JSON
{
"hex": "#9b60cb",
"rgb": {
"r": 155,
"g": 96,
"b": 203
},
"hsl": {
"h": 273.084,
"s": 50.711,
"l": 58.627
},
"oklch": {
"l": 0.5997,
"c": 0.16505,
"h": 307.6
},
"luminance": 0.19646
}Semantic roles & 50–950 ramp
primary
#9B60CB
secondary
#C1D9AE
accent
#DA4E8D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83