#9B51E5#9B51E5
#9B51E5 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.5% C 0.216 H 303.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9B51E5 |
|---|---|
| RGB | rgb(155, 81, 229) |
| HSL | hsl(270, 74%, 61%) |
| HSV | hsv(270, 65%, 90%) |
| CMYK | cmyk(32.3%, 64.6%, 0%, 10.2%) |
| CIE-LAB | lab(50.11, 57.73, -63.49) |
| CIE-LCH | lch(50.11, 85.81, 312.28°) |
| OKLab | oklab(59.51% 0.1189 -0.1802) |
| OKLCH | oklch(59.51% 0.216 303.4) |
| XYZ | xyz(30.5996, 18.5106, 76.0744) |
| Luminance | 0.1851 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.93
Purpley
#8756E4
ΔE00 3.63
Lighter Purple
#A55AF4
ΔE00 3.76
Electric Purple
#AA23FF
ΔE00 6.01
Amethyst
#9B5FC0
ΔE00 6.79
Neon Purple
#BC13FE
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B51E5 #9BE551
analogous
#5151E5 #9B51E5 #E551E5
triadic
#9B51E5 #E59B51 #51E59B
tetradic
#9B51E5 #E55151 #9BE551 #51E5E5
square
#9B51E5 #E55151 #9BE551 #51E5E5
split-complementary
#9B51E5 #E5E551 #51E551
monochromatic
#5E18A3 #7C20D8 #9B51E5 #BA86ED #D8BBF5
Accessibility & contrast
On white
4.47
#9B51E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#9B51E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B51E5
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B51E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B51E5 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#1D77E2
Tritanopia (blue-blind)
#8D7194
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9b51e5; /* rgb */ color: rgb(155, 81, 229); /* oklch */ color: oklch(59.5% 0.216 303.4);
Tailwind
colors: {
custom: {
50: '#bd86ee',
500: '#9b51e5',
950: '#000000',
},
}SCSS
$custom: #9b51e5; $custom-light: #bd86ee; $custom-dark: #000000;
JSON
{
"hex": "#9b51e5",
"rgb": {
"r": 155,
"g": 81,
"b": 229
},
"hsl": {
"h": 270,
"s": 74,
"l": 60.784
},
"oklch": {
"l": 0.59507,
"c": 0.21589,
"h": 303.4
},
"luminance": 0.18511
}Semantic roles & 50–950 ramp
primary
#9B51E5
secondary
#C9E5AD
accent
#D60F73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84