#9B5CDC#9B5CDC
#9B5CDC is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.4% C 0.191 H 303.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9B5CDC |
|---|---|
| RGB | rgb(155, 92, 220) |
| HSL | hsl(270, 65%, 61%) |
| HSV | hsv(270, 58%, 86%) |
| CMYK | cmyk(29.5%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(51.60, 50.04, -56.00) |
| CIE-LCH | lch(51.60, 75.10, 311.78°) |
| OKLab | oklab(60.41% 0.1065 -0.1583) |
| OKLCH | oklch(60.41% 0.191 303.9) |
| XYZ | xyz(30.2601, 19.7903, 69.9220) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.67
Lighter Purple
#A55AF4
ΔE00 3.59
Purpley
#8756E4
ΔE00 4.55
Amethyst
#9B5FC0
ΔE00 4.87
Mediumpurple
#9370DB
ΔE00 5.64
Deep Lavender
#8D5EB7
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B5CDC #9DDC5C
analogous
#5C5DDC #9B5CDC #DB5CDC
triadic
#9B5CDC #DC9B5C #5CDC9B
tetradic
#9B5CDC #DC5C5D #9DDC5C #5CDCDB
square
#9B5CDC #DC5C5D #9DDC5C #5CDCDB
split-complementary
#9B5CDC #DCDB5C #5DDC5C
monochromatic
#5E229C #7C2CCE #9B5CDC #BA8EE7 #D9C1F2
Accessibility & contrast
On white
4.24
#9B5CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#9B5CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B5CDC
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B5CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B5CDC | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2279E0
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#8F7693
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9b5cdc; /* rgb */ color: rgb(155, 92, 220); /* oklch */ color: oklch(60.4% 0.191 303.9);
Tailwind
colors: {
custom: {
50: '#bc8de7',
500: '#9b5cdc',
950: '#000000',
},
}SCSS
$custom: #9b5cdc; $custom-light: #bc8de7; $custom-dark: #000000;
JSON
{
"hex": "#9b5cdc",
"rgb": {
"r": 155,
"g": 92,
"b": 220
},
"hsl": {
"h": 269.531,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.60406,
"c": 0.19076,
"h": 303.9
},
"luminance": 0.1979
}Semantic roles & 50–950 ramp
primary
#9B5CDC
secondary
#CAE2B2
accent
#CC1974
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84