#9B57F2#9B57F2
#9B57F2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.222 H 300.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9B57F2 |
|---|---|
| RGB | rgb(155, 87, 242) |
| HSL | hsl(266, 86%, 65%) |
| HSV | hsv(266, 64%, 95%) |
| CMYK | cmyk(36%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(52.06, 57.89, -67.64) |
| CIE-LCH | lch(52.06, 89.03, 310.56°) |
| OKLab | oklab(61.19% 0.1112 -0.1925) |
| OKLCH | oklch(61.19% 0.222 300) |
| XYZ | xyz(32.9488, 20.1955, 86.1494) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.05
Lightish Purple
#A552E6
ΔE00 2.84
Purpley
#8756E4
ΔE00 4.01
Mediumslateblue
#7B68EE
ΔE00 6.91
Mediumpurple
#9370DB
ΔE00 6.97
Electric Purple
#AA23FF
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B57F2 #AEF257
analogous
#5761F2 #9B57F2 #E957F2
triadic
#9B57F2 #F29B57 #57F29B
tetradic
#9B57F2 #F25761 #AEF257 #57F2E9
square
#9B57F2 #F25761 #AEF257 #57F2E9
split-complementary
#9B57F2 #F2E957 #61F257
monochromatic
#5C0FC0 #791EEE #9B57F2 #BD90F6 #DFC9FB
Accessibility & contrast
On white
4.17
#9B57F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#9B57F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B57F2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B57F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B57F2 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#887A9D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9b57f2; /* rgb */ color: rgb(155, 87, 242); /* oklch */ color: oklch(61.2% 0.222 300.0);
Tailwind
colors: {
custom: {
50: '#be8af7',
500: '#9b57f2',
950: '#000000',
},
}SCSS
$custom: #9b57f2; $custom-light: #be8af7; $custom-dark: #000000;
JSON
{
"hex": "#9b57f2",
"rgb": {
"r": 155,
"g": 87,
"b": 242
},
"hsl": {
"h": 266.323,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.61186,
"c": 0.22226,
"h": 300
},
"luminance": 0.20196
}Semantic roles & 50–950 ramp
primary
#9B57F2
secondary
#D6EDB8
accent
#E20380
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85