#8B57F3#8B57F3
#8B57F3 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.222 H 293.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8B57F3 |
|---|---|
| RGB | rgb(139, 87, 243) |
| HSL | hsl(260, 87%, 65%) |
| HSV | hsv(260, 64%, 95%) |
| CMYK | cmyk(42.8%, 64.2%, 0%, 4.7%) |
| CIE-LAB | lab(50.42, 54.99, -70.93) |
| CIE-LCH | lch(50.42, 89.75, 307.78°) |
| OKLab | oklab(59.64% 0.09 -0.2026) |
| OKLCH | oklch(59.64% 0.222 293.9) |
| XYZ | xyz(30.2289, 18.7756, 86.8080) |
| Luminance | 0.1878 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.22
Lighter Purple
#A55AF4
ΔE00 4.77
Lightish Purple
#A552E6
ΔE00 5.19
Mediumslateblue
#7B68EE
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 7.12
Mediumpurple
#9370DB
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B57F3 #BFF357
analogous
#5771F3 #8B57F3 #D957F3
triadic
#8B57F3 #F38B57 #57F38B
tetradic
#8B57F3 #F35771 #BFF357 #57F3D9
square
#8B57F3 #F35771 #BFF357 #57F3D9
split-complementary
#8B57F3 #F3D957 #71F357
monochromatic
#4A0EC2 #641EEF #8B57F3 #B290F7 #DAC9FB
Accessibility & contrast
On white
4.42
#8B57F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#8B57F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B57F3
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B57F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B57F3 | 1.00 | 4.42 | 4.76 | 4.76 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#6E7C9D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8b57f3; /* rgb */ color: rgb(139, 87, 243); /* oklch */ color: oklch(59.6% 0.222 293.9);
Tailwind
colors: {
custom: {
50: '#b489f8',
500: '#8b57f3',
950: '#000000',
},
}SCSS
$custom: #8b57f3; $custom-light: #b489f8; $custom-dark: #000000;
JSON
{
"hex": "#8b57f3",
"rgb": {
"r": 139,
"g": 87,
"b": 243
},
"hsl": {
"h": 260,
"s": 86.667,
"l": 64.706
},
"oklch": {
"l": 0.59641,
"c": 0.22172,
"h": 293.9
},
"luminance": 0.18776
}Semantic roles & 50–950 ramp
primary
#8B57F3
secondary
#DCEEB8
accent
#E30298
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85