#8F57E6#8F57E6
#8F57E6 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.207 H 297.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8F57E6 |
|---|---|
| RGB | rgb(143, 87, 230) |
| HSL | hsl(263, 74%, 62%) |
| HSV | hsv(263, 62%, 90%) |
| CMYK | cmyk(37.8%, 62.2%, 0%, 9.8%) |
| CIE-LAB | lab(49.94, 52.44, -64.39) |
| CIE-LCH | lch(49.94, 83.04, 309.16°) |
| OKLab | oklab(59.1% 0.0964 -0.1833) |
| OKLCH | oklch(59.1% 0.207 297.7) |
| XYZ | xyz(29.0152, 18.3688, 76.8644) |
| Luminance | 0.1837 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.52
Lightish Purple
#A552E6
ΔE00 4.00
Lighter Purple
#A55AF4
ΔE00 4.48
Mediumslateblue
#7B68EE
ΔE00 6.07
Light Indigo
#6D5ACF
ΔE00 6.85
Mediumpurple
#9370DB
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F57E6 #AEE657
analogous
#5766E6 #8F57E6 #D757E6
triadic
#8F57E6 #E68F57 #57E68F
tetradic
#8F57E6 #E65766 #AEE657 #57E6D7
square
#8F57E6 #E65766 #AEE657 #57E6D7
split-complementary
#8F57E6 #E6D757 #66E657
monochromatic
#5219A9 #6B22DE #8F57E6 #B38CEE #D6C2F6
Accessibility & contrast
On white
4.49
#8F57E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.67
#8F57E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F57E6
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F57E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F57E6 | 1.00 | 4.49 | 4.67 | 4.67 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#0875E3
Tritanopia (blue-blind)
#7A7797
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8f57e6; /* rgb */ color: rgb(143, 87, 230); /* oklch */ color: oklch(59.1% 0.207 297.7);
Tailwind
colors: {
custom: {
50: '#b589ef',
500: '#8f57e6',
950: '#000000',
},
}SCSS
$custom: #8f57e6; $custom-light: #b589ef; $custom-dark: #000000;
JSON
{
"hex": "#8f57e6",
"rgb": {
"r": 143,
"g": 87,
"b": 230
},
"hsl": {
"h": 263.497,
"s": 74.093,
"l": 62.157
},
"oklch": {
"l": 0.59103,
"c": 0.2071,
"h": 297.7
},
"luminance": 0.18369
}Semantic roles & 50–950 ramp
primary
#8F57E6
secondary
#D2E7B2
accent
#D60F88
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84