#9B60DB#9B60DB
#9B60DB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.184 H 303.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9B60DB |
|---|---|
| RGB | rgb(155, 96, 219) |
| HSL | hsl(269, 63%, 62%) |
| HSV | hsv(269, 56%, 86%) |
| CMYK | cmyk(29.2%, 56.2%, 0%, 14.1%) |
| CIE-LAB | lab(52.34, 47.68, -54.24) |
| CIE-LCH | lch(52.34, 72.22, 311.31°) |
| OKLab | oklab(60.93% 0.1015 -0.1531) |
| OKLCH | oklch(60.93% 0.184 303.5) |
| XYZ | xyz(30.4838, 20.4488, 69.3452) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.46
Lighter Purple
#A55AF4
ΔE00 3.77
Amethyst
#9B5FC0
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 4.71
Purpley
#8756E4
ΔE00 5.14
Deep Lavender
#8D5EB7
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B60DB #A0DB60
analogous
#6063DB #9B60DB #D860DB
triadic
#9B60DB #DB9B60 #60DB9B
tetradic
#9B60DB #DB6063 #A0DB60 #60DBD8
square
#9B60DB #DB6063 #A0DB60 #60DBD8
split-complementary
#9B60DB #DBD860 #63DB60
monochromatic
#5E249D #7C2FCF #9B60DB #BA92E6 #DAC4F2
Accessibility & contrast
On white
4.13
#9B60DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#9B60DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B60DB
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B60DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B60DB | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F7BDF
Deuteranopia (green-blind)
#457DD8
Tritanopia (blue-blind)
#8F7894
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9b60db; /* rgb */ color: rgb(155, 96, 219); /* oklch */ color: oklch(60.9% 0.184 303.5);
Tailwind
colors: {
custom: {
50: '#bc8fe7',
500: '#9b60db',
950: '#000000',
},
}SCSS
$custom: #9b60db; $custom-light: #bc8fe7; $custom-dark: #000000;
JSON
{
"hex": "#9b60db",
"rgb": {
"r": 155,
"g": 96,
"b": 219
},
"hsl": {
"h": 268.78,
"s": 63.077,
"l": 61.765
},
"oklch": {
"l": 0.6093,
"c": 0.18373,
"h": 303.5
},
"luminance": 0.20449
}Semantic roles & 50–950 ramp
primary
#9B60DB
secondary
#CCE2B5
accent
#CB1B76
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120D16
muted
#817D84