#9B57E9#9B57E9
#9B57E9 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.212 H 301.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9B57E9 |
|---|---|
| RGB | rgb(155, 87, 233) |
| HSL | hsl(268, 77%, 63%) |
| HSV | hsv(268, 63%, 91%) |
| CMYK | cmyk(33.5%, 62.7%, 0%, 8.6%) |
| CIE-LAB | lab(51.46, 55.72, -63.56) |
| CIE-LCH | lch(51.46, 84.52, 311.24°) |
| OKLab | oklab(60.57% 0.1119 -0.1805) |
| OKLCH | oklch(60.57% 0.212 301.8) |
| XYZ | xyz(31.6303, 19.6680, 79.2049) |
| Luminance | 0.1967 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.07
Lighter Purple
#A55AF4
ΔE00 2.51
Purpley
#8756E4
ΔE00 3.72
Mediumpurple
#9370DB
ΔE00 6.75
Amethyst
#9B5FC0
ΔE00 6.89
Electric Purple
#AA23FF
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B57E9 #A5E957
analogous
#575CE9 #9B57E9 #E457E9
triadic
#9B57E9 #E99B57 #57E99B
tetradic
#9B57E9 #E9575C #A5E957 #57E9E4
square
#9B57E9 #E9575C #A5E957 #57E9E4
split-complementary
#9B57E9 #E9E457 #5CE957
monochromatic
#5E17AF #7B21E2 #9B57E9 #BB8DF0 #DBC3F7
Accessibility & contrast
On white
4.26
#9B57E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#9B57E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B57E9
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B57E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B57E9 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#237AE6
Tritanopia (blue-blind)
#8B7798
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9b57e9; /* rgb */ color: rgb(155, 87, 233); /* oklch */ color: oklch(60.6% 0.212 301.8);
Tailwind
colors: {
custom: {
50: '#bd8af1',
500: '#9b57e9',
950: '#000000',
},
}SCSS
$custom: #9b57e9; $custom-light: #bd8af1; $custom-dark: #000000;
JSON
{
"hex": "#9b57e9",
"rgb": {
"r": 155,
"g": 87,
"b": 233
},
"hsl": {
"h": 267.945,
"s": 76.842,
"l": 62.745
},
"oklch": {
"l": 0.60565,
"c": 0.21234,
"h": 301.8
},
"luminance": 0.19668
}Semantic roles & 50–950 ramp
primary
#9B57E9
secondary
#D0E8B3
accent
#D90C7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85