#9B4AEB#9B4AEB
#9B4AEB is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.1% C 0.231 H 302.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4AEB |
|---|---|
| RGB | rgb(155, 74, 235) |
| HSL | hsl(270, 80%, 61%) |
| HSV | hsv(270, 69%, 92%) |
| CMYK | cmyk(34%, 68.5%, 0%, 7.8%) |
| CIE-LAB | lab(49.33, 62.42, -68.13) |
| CIE-LCH | lch(49.33, 92.40, 312.50°) |
| OKLab | oklab(59.08% 0.1255 -0.1938) |
| OKLCH | oklch(59.08% 0.231 302.9) |
| XYZ | xyz(30.9582, 17.8643, 80.3983) |
| Luminance | 0.1786 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.88
Purpley
#8756E4
ΔE00 3.92
Lighter Purple
#A55AF4
ΔE00 4.58
Electric Purple
#AA23FF
ΔE00 4.64
Bright Violet
#AD0AFD
ΔE00 5.73
Neon Purple
#BC13FE
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4AEB #9AEB4A
analogous
#4A4AEB #9B4AEB #EB4AEB
triadic
#9B4AEB #EB9B4A #4AEB9B
tetradic
#9B4AEB #EB4A4A #9AEB4A #4AEBEB
square
#9B4AEB #EB4A4A #9AEB4A #4AEBEB
split-complementary
#9B4AEB #EBEB4A #4AEB4A
monochromatic
#5E13A8 #7D19DF #9B4AEB #B981F1 #D8B8F7
Accessibility & contrast
On white
4.59
#9B4AEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#9B4AEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4AEB
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4AEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4AEB | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#8B7095
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9b4aeb; /* rgb */ color: rgb(155, 74, 235); /* oklch */ color: oklch(59.1% 0.231 302.9);
Tailwind
colors: {
custom: {
50: '#be82f2',
500: '#9b4aeb',
950: '#000000',
},
}SCSS
$custom: #9b4aeb; $custom-light: #be82f2; $custom-dark: #000000;
JSON
{
"hex": "#9b4aeb",
"rgb": {
"r": 155,
"g": 74,
"b": 235
},
"hsl": {
"h": 270.186,
"s": 80.1,
"l": 60.588
},
"oklch": {
"l": 0.59079,
"c": 0.23092,
"h": 302.9
},
"luminance": 0.17864
}Semantic roles & 50–950 ramp
primary
#9B4AEB
secondary
#C8E7AA
accent
#DC0972
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85