#9B4CE7#9B4CE7
#9B4CE7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.224 H 303.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4CE7 |
|---|---|
| RGB | rgb(155, 76, 231) |
| HSL | hsl(271, 76%, 60%) |
| HSV | hsv(271, 67%, 91%) |
| CMYK | cmyk(32.9%, 67.1%, 0%, 9.4%) |
| CIE-LAB | lab(49.38, 60.57, -65.79) |
| CIE-LCH | lch(49.38, 89.43, 312.64°) |
| OKLab | oklab(59.03% 0.124 -0.187) |
| OKLCH | oklch(59.03% 0.224 303.5) |
| XYZ | xyz(30.5225, 17.9070, 77.4342) |
| Luminance | 0.1791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.54
Purpley
#8756E4
ΔE00 3.82
Lighter Purple
#A55AF4
ΔE00 4.48
Electric Purple
#AA23FF
ΔE00 5.10
Bright Violet
#AD0AFD
ΔE00 6.13
Neon Purple
#BC13FE
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4CE7 #98E74C
analogous
#4E4CE7 #9B4CE7 #E74CE5
triadic
#9B4CE7 #E79B4C #4CE79B
tetradic
#9B4CE7 #E74E4C #98E74C #4CE5E7
square
#9B4CE7 #E74E4C #98E74C #4CE5E7
split-complementary
#9B4CE7 #E5E74C #4CE74E
monochromatic
#5E16A3 #7D1DD9 #9B4CE7 #B982EE #D7B8F5
Accessibility & contrast
On white
4.58
#9B4CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#9B4CE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B4CE7
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4CE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B4CE7 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0175E4
Tritanopia (blue-blind)
#8C6F94
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9b4ce7; /* rgb */ color: rgb(155, 76, 231); /* oklch */ color: oklch(59.0% 0.224 303.5);
Tailwind
colors: {
custom: {
50: '#be83ef',
500: '#9b4ce7',
950: '#000000',
},
}SCSS
$custom: #9b4ce7; $custom-light: #be83ef; $custom-dark: #000000;
JSON
{
"hex": "#9b4ce7",
"rgb": {
"r": 155,
"g": 76,
"b": 231
},
"hsl": {
"h": 270.581,
"s": 76.355,
"l": 60.196
},
"oklch": {
"l": 0.59028,
"c": 0.22434,
"h": 303.5
},
"luminance": 0.17907
}Semantic roles & 50–950 ramp
primary
#9B4CE7
secondary
#C7E5AA
accent
#D90D71
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85