#9B4DE4#9B4DE4
#9B4DE4 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.220 H 304.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4DE4 |
|---|---|
| RGB | rgb(155, 77, 228) |
| HSL | hsl(271, 74%, 60%) |
| HSV | hsv(271, 66%, 89%) |
| CMYK | cmyk(32%, 66.2%, 0%, 10.6%) |
| CIE-LAB | lab(49.35, 59.41, -64.15) |
| CIE-LCH | lch(49.35, 87.44, 312.80°) |
| OKLab | oklab(58.94% 0.1233 -0.1822) |
| OKLCH | oklch(58.94% 0.22 304.1) |
| XYZ | xyz(30.1719, 17.8778, 75.2450) |
| Luminance | 0.1788 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.42
Purpley
#8756E4
ΔE00 3.84
Lighter Purple
#A55AF4
ΔE00 4.54
Electric Purple
#AA23FF
ΔE00 5.40
Bright Violet
#AD0AFD
ΔE00 6.38
Neon Purple
#BC13FE
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4DE4 #96E44D
analogous
#4F4DE4 #9B4DE4 #E44DE2
triadic
#9B4DE4 #E49B4D #4DE49B
tetradic
#9B4DE4 #E44F4D #96E44D #4DE2E4
square
#9B4DE4 #E44F4D #96E44D #4DE2E4
split-complementary
#9B4DE4 #E2E44D #4DE44F
monochromatic
#5E189F #7D20D4 #9B4DE4 #B982EC #D7B7F4
Accessibility & contrast
On white
4.59
#9B4DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#9B4DE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4DE4
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4DE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4DE4 | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#1575E1
Tritanopia (blue-blind)
#8D6F92
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9b4de4; /* rgb */ color: rgb(155, 77, 228); /* oklch */ color: oklch(58.9% 0.220 304.1);
Tailwind
colors: {
custom: {
50: '#be84ed',
500: '#9b4de4',
950: '#000000',
},
}SCSS
$custom: #9b4de4; $custom-light: #be84ed; $custom-dark: #000000;
JSON
{
"hex": "#9b4de4",
"rgb": {
"r": 155,
"g": 77,
"b": 228
},
"hsl": {
"h": 270.993,
"s": 73.659,
"l": 59.804
},
"oklch": {
"l": 0.58938,
"c": 0.21995,
"h": 304.1
},
"luminance": 0.17878
}Semantic roles & 50–950 ramp
primary
#9B4DE4
secondary
#C5E4A9
accent
#F03791
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84