#9B4FCC#9B4FCC
#9B4FCC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.192 H 309.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4FCC |
|---|---|
| RGB | rgb(155, 79, 204) |
| HSL | hsl(276, 55%, 55%) |
| HSV | hsv(276, 61%, 80%) |
| CMYK | cmyk(24%, 61.3%, 0%, 20%) |
| CIE-LAB | lab(48.16, 52.98, -52.38) |
| CIE-LCH | lch(48.16, 74.51, 315.33°) |
| OKLab | oklab(57.59% 0.1226 -0.1476) |
| OKLCH | oklch(57.59% 0.192 309.7) |
| XYZ | xyz(27.2105, 16.9207, 58.9476) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.32
Amethyst
#9B5FC0
ΔE00 4.59
Deep Lavender
#8D5EB7
ΔE00 5.38
Darkorchid
#9932CC
ΔE00 5.60
Purply
#983FB2
ΔE00 5.67
Purpley
#8756E4
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4FCC #80CC4F
analogous
#5C4FCC #9B4FCC #CC4FBE
triadic
#9B4FCC #CC9B4F #4FCC9B
tetradic
#9B4FCC #CC5C4F #80CC4F #4FBECC
square
#9B4FCC #CC5C4F #80CC4F #4FBECC
split-complementary
#9B4FCC #BECC4F #4FCC5C
monochromatic
#5A247D #7C32AC #9B4FCC #B67EDA #D1AEE7
Accessibility & contrast
On white
4.79
#9B4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#9B4FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4FCC
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4FCC | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176FD0
Deuteranopia (green-blind)
#3F73C9
Tritanopia (blue-blind)
#946786
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9b4fcc; /* rgb */ color: rgb(155, 79, 204); /* oklch */ color: oklch(57.6% 0.192 309.7);
Tailwind
colors: {
custom: {
50: '#bc84dc',
500: '#9b4fcc',
950: '#000000',
},
}SCSS
$custom: #9b4fcc; $custom-light: #bc84dc; $custom-dark: #000000;
JSON
{
"hex": "#9b4fcc",
"rgb": {
"r": 155,
"g": 79,
"b": 204
},
"hsl": {
"h": 276.48,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.5759,
"c": 0.19186,
"h": 309.7
},
"luminance": 0.1692
}Semantic roles & 50–950 ramp
primary
#9B4FCC
secondary
#B6D5A1
accent
#DE4984
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83