#9B4CDC#9B4CDC
#9B4CDC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.213 H 306.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4CDC |
|---|---|
| RGB | rgb(155, 76, 220) |
| HSL | hsl(273, 67%, 58%) |
| HSV | hsv(273, 65%, 86%) |
| CMYK | cmyk(29.5%, 65.5%, 0%, 13.7%) |
| CIE-LAB | lab(48.64, 58.05, -60.76) |
| CIE-LCH | lch(48.64, 84.03, 313.69°) |
| OKLab | oklab(58.26% 0.1251 -0.1722) |
| OKLCH | oklch(58.26% 0.213 306) |
| XYZ | xyz(29.0175, 17.3050, 69.5078) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.94
Purpley
#8756E4
ΔE00 4.39
Lighter Purple
#A55AF4
ΔE00 5.47
Darkorchid
#9932CC
ΔE00 5.72
Electric Purple
#AA23FF
ΔE00 5.80
Amethyst
#9B5FC0
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4CDC #8DDC4C
analogous
#534CDC #9B4CDC #DC4CD5
triadic
#9B4CDC #DC9B4C #4CDC9B
tetradic
#9B4CDC #DC534C #8DDC4C #4CD5DC
square
#9B4CDC #DC534C #8DDC4C #4CD5DC
split-complementary
#9B4CDC #D5DC4C #4CDC53
monochromatic
#5C1C91 #7D26C4 #9B4CDC #B87FE6 #D4B2F0
Accessibility & contrast
On white
4.71
#9B4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#9B4CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4CDC
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4CDC | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#906B8E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9b4cdc; /* rgb */ color: rgb(155, 76, 220); /* oklch */ color: oklch(58.3% 0.213 306.0);
Tailwind
colors: {
custom: {
50: '#bd83e8',
500: '#9b4cdc',
950: '#000000',
},
}SCSS
$custom: #9b4cdc; $custom-light: #bd83e8; $custom-dark: #000000;
JSON
{
"hex": "#9b4cdc",
"rgb": {
"r": 155,
"g": 76,
"b": 220
},
"hsl": {
"h": 272.917,
"s": 67.29,
"l": 58.039
},
"oklch": {
"l": 0.58261,
"c": 0.21285,
"h": 306
},
"luminance": 0.17305
}Semantic roles & 50–950 ramp
primary
#9B4CDC
secondary
#BFDFA5
accent
#EA3E8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84