#9D57F2#9D57F2
#9D57F2 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.223 H 300.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9D57F2 |
|---|---|
| RGB | rgb(157, 87, 242) |
| HSL | hsl(267, 86%, 65%) |
| HSV | hsv(267, 64%, 95%) |
| CMYK | cmyk(35.1%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(52.28, 58.30, -67.27) |
| CIE-LCH | lch(52.28, 89.01, 310.91°) |
| OKLab | oklab(61.4% 0.1138 -0.1913) |
| OKLCH | oklch(61.4% 0.223 300.7) |
| XYZ | xyz(33.3360, 20.3951, 86.1676) |
| Luminance | 0.2039 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.72
Lightish Purple
#A552E6
ΔE00 2.62
Purpley
#8756E4
ΔE00 4.33
Electric Purple
#AA23FF
ΔE00 6.97
Mediumpurple
#9370DB
ΔE00 6.98
Mediumslateblue
#7B68EE
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D57F2 #ACF257
analogous
#575FF2 #9D57F2 #EB57F2
triadic
#9D57F2 #F29D57 #57F29D
tetradic
#9D57F2 #F2575F #ACF257 #57F2EB
square
#9D57F2 #F2575F #ACF257 #57F2EB
split-complementary
#9D57F2 #F2EB57 #5FF257
monochromatic
#5F0FC0 #7C1EEE #9D57F2 #BE90F6 #DFC9FB
Accessibility & contrast
On white
4.13
#9D57F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#9D57F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D57F2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D57F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D57F2 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0B7CEF
Tritanopia (blue-blind)
#8B7A9D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9d57f2; /* rgb */ color: rgb(157, 87, 242); /* oklch */ color: oklch(61.4% 0.223 300.7);
Tailwind
colors: {
custom: {
50: '#bf8af7',
500: '#9d57f2',
950: '#000000',
},
}SCSS
$custom: #9d57f2; $custom-light: #bf8af7; $custom-dark: #000000;
JSON
{
"hex": "#9d57f2",
"rgb": {
"r": 157,
"g": 87,
"b": 242
},
"hsl": {
"h": 267.097,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.61398,
"c": 0.22257,
"h": 300.7
},
"luminance": 0.20395
}Semantic roles & 50–950 ramp
primary
#9D57F2
secondary
#D5EDB8
accent
#E2037E
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85