#9B4AE6#9B4AE6
#9B4AE6 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.7% C 0.226 H 304.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4AE6 |
|---|---|
| RGB | rgb(155, 74, 230) |
| HSL | hsl(271, 76%, 60%) |
| HSV | hsv(271, 68%, 90%) |
| CMYK | cmyk(32.6%, 67.8%, 0%, 9.8%) |
| CIE-LAB | lab(48.98, 61.27, -65.88) |
| CIE-LCH | lch(48.98, 89.96, 312.92°) |
| OKLab | oklab(58.72% 0.1262 -0.1872) |
| OKLCH | oklch(58.72% 0.226 304) |
| XYZ | xyz(30.2460, 17.5794, 76.6473) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.85
Purpley
#8756E4
ΔE00 4.01
Electric Purple
#AA23FF
ΔE00 4.86
Lighter Purple
#A55AF4
ΔE00 4.92
Bright Violet
#AD0AFD
ΔE00 5.82
Neon Purple
#BC13FE
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4AE6 #95E64A
analogous
#4D4AE6 #9B4AE6 #E64AE3
triadic
#9B4AE6 #E69B4A #4AE69B
tetradic
#9B4AE6 #E64D4A #95E64A #4AE3E6
square
#9B4AE6 #E64D4A #95E64A #4AE3E6
split-complementary
#9B4AE6 #E3E64A #4AE64D
monochromatic
#5D16A0 #7D1DD5 #9B4AE6 #B980ED #D6B6F5
Accessibility & contrast
On white
4.65
#9B4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#9B4AE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4AE6
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4AE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4AE6 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#8D6E92
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9b4ae6; /* rgb */ color: rgb(155, 74, 230); /* oklch */ color: oklch(58.7% 0.226 304.0);
Tailwind
colors: {
custom: {
50: '#be82ef',
500: '#9b4ae6',
950: '#000000',
},
}SCSS
$custom: #9b4ae6; $custom-light: #be82ef; $custom-dark: #000000;
JSON
{
"hex": "#9b4ae6",
"rgb": {
"r": 155,
"g": 74,
"b": 230
},
"hsl": {
"h": 271.154,
"s": 75.728,
"l": 59.608
},
"oklch": {
"l": 0.58719,
"c": 0.22576,
"h": 304
},
"luminance": 0.17579
}Semantic roles & 50–950 ramp
primary
#9B4AE6
secondary
#C5E4A8
accent
#F23590
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85