#9B4FE4#9B4FE4
#9B4FE4 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.217 H 303.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4FE4 |
|---|---|
| RGB | rgb(155, 79, 228) |
| HSL | hsl(271, 73%, 60%) |
| HSV | hsv(271, 65%, 89%) |
| CMYK | cmyk(32%, 65.4%, 0%, 10.6%) |
| CIE-LAB | lab(49.69, 58.46, -63.60) |
| CIE-LCH | lch(49.69, 86.38, 312.59°) |
| OKLab | oklab(59.19% 0.1211 -0.1805) |
| OKLCH | oklch(59.19% 0.217 303.9) |
| XYZ | xyz(30.3140, 18.1620, 75.2924) |
| Luminance | 0.1816 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.15
Purpley
#8756E4
ΔE00 3.73
Lighter Purple
#A55AF4
ΔE00 4.19
Electric Purple
#AA23FF
ΔE00 5.71
Neon Purple
#BC13FE
ΔE00 6.70
Bright Violet
#AD0AFD
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4FE4 #98E44F
analogous
#504FE4 #9B4FE4 #E44FE2
triadic
#9B4FE4 #E49B4F #4FE49B
tetradic
#9B4FE4 #E4504F #98E44F #4FE2E4
square
#9B4FE4 #E4504F #98E44F #4FE2E4
split-complementary
#9B4FE4 #E2E44F #4FE450
monochromatic
#5E19A0 #7D21D5 #9B4FE4 #B984EC #D7B9F4
Accessibility & contrast
On white
4.53
#9B4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#9B4FE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B4FE4
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4FE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B4FE4 | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#1B76E1
Tritanopia (blue-blind)
#8D7093
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9b4fe4; /* rgb */ color: rgb(155, 79, 228); /* oklch */ color: oklch(59.2% 0.217 303.9);
Tailwind
colors: {
custom: {
50: '#bd85ed',
500: '#9b4fe4',
950: '#000000',
},
}SCSS
$custom: #9b4fe4; $custom-light: #bd85ed; $custom-dark: #000000;
JSON
{
"hex": "#9b4fe4",
"rgb": {
"r": 155,
"g": 79,
"b": 228
},
"hsl": {
"h": 270.604,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.59185,
"c": 0.21741,
"h": 303.9
},
"luminance": 0.18162
}Semantic roles & 50–950 ramp
primary
#9B4FE4
secondary
#C7E4AB
accent
#D61071
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84