#9B4CDB#9B4CDB
#9B4CDB is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.212 H 306.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4CDB |
|---|---|
| RGB | rgb(155, 76, 219) |
| HSL | hsl(273, 67%, 58%) |
| HSV | hsv(273, 65%, 86%) |
| CMYK | cmyk(29.2%, 65.3%, 0%, 14.1%) |
| CIE-LAB | lab(48.58, 57.82, -60.29) |
| CIE-LCH | lch(48.58, 83.54, 313.80°) |
| OKLab | oklab(58.19% 0.1252 -0.1708) |
| OKLCH | oklch(58.19% 0.212 306.2) |
| XYZ | xyz(28.8854, 17.2522, 68.8124) |
| Luminance | 0.1725 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.01
Purpley
#8756E4
ΔE00 4.47
Lighter Purple
#A55AF4
ΔE00 5.57
Darkorchid
#9932CC
ΔE00 5.65
Electric Purple
#AA23FF
ΔE00 5.88
Amethyst
#9B5FC0
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4CDB #8CDB4C
analogous
#534CDB #9B4CDB #DB4CD3
triadic
#9B4CDB #DB9B4C #4CDB9B
tetradic
#9B4CDB #DB534C #8CDB4C #4CD3DB
square
#9B4CDB #DB534C #8CDB4C #4CD3DB
split-complementary
#9B4CDB #D3DB4C #4CDB53
monochromatic
#5C1D90 #7D27C3 #9B4CDB #B77FE5 #D4B2EF
Accessibility & contrast
On white
4.72
#9B4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#9B4CDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4CDB
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4CDB | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#906B8D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9b4cdb; /* rgb */ color: rgb(155, 76, 219); /* oklch */ color: oklch(58.2% 0.212 306.2);
Tailwind
colors: {
custom: {
50: '#bd83e7',
500: '#9b4cdb',
950: '#000000',
},
}SCSS
$custom: #9b4cdb; $custom-light: #bd83e7; $custom-dark: #000000;
JSON
{
"hex": "#9b4cdb",
"rgb": {
"r": 155,
"g": 76,
"b": 219
},
"hsl": {
"h": 273.147,
"s": 66.512,
"l": 57.843
},
"oklch": {
"l": 0.58193,
"c": 0.21181,
"h": 306.2
},
"luminance": 0.17252
}Semantic roles & 50–950 ramp
primary
#9B4CDB
secondary
#BEDEA5
accent
#E93E8B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84