#8957F3#8957F3
#8957F3 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.222 H 293.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8957F3 |
|---|---|
| RGB | rgb(137, 87, 243) |
| HSL | hsl(259, 87%, 65%) |
| HSV | hsv(259, 64%, 95%) |
| CMYK | cmyk(43.6%, 64.2%, 0%, 4.7%) |
| CIE-LAB | lab(50.22, 54.61, -71.26) |
| CIE-LCH | lch(50.22, 89.78, 307.46°) |
| OKLab | oklab(59.45% 0.0873 -0.2037) |
| OKLCH | oklch(59.45% 0.222 293.2) |
| XYZ | xyz(29.8980, 18.6049, 86.7925) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.14
Mediumslateblue
#7B68EE
ΔE00 5.05
Lighter Purple
#A55AF4
ΔE00 5.11
Lightish Purple
#A552E6
ΔE00 5.50
Light Indigo
#6D5ACF
ΔE00 6.87
Slate Blue
#6A5ACD
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8957F3 #C1F357
analogous
#5773F3 #8957F3 #D757F3
triadic
#8957F3 #F38957 #57F389
tetradic
#8957F3 #F35773 #C1F357 #57F3D7
square
#8957F3 #F35773 #C1F357 #57F3D7
split-complementary
#8957F3 #F3D757 #73F357
monochromatic
#480EC2 #611EEF #8957F3 #B190F7 #D9C9FB
Accessibility & contrast
On white
4.45
#8957F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#8957F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8957F3
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8957F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8957F3 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#6B7C9D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8957f3; /* rgb */ color: rgb(137, 87, 243); /* oklch */ color: oklch(59.4% 0.222 293.2);
Tailwind
colors: {
custom: {
50: '#b389f8',
500: '#8957f3',
950: '#000000',
},
}SCSS
$custom: #8957f3; $custom-light: #b389f8; $custom-dark: #000000;
JSON
{
"hex": "#8957f3",
"rgb": {
"r": 137,
"g": 87,
"b": 243
},
"hsl": {
"h": 259.231,
"s": 86.667,
"l": 64.706
},
"oklch": {
"l": 0.59449,
"c": 0.22163,
"h": 293.2
},
"luminance": 0.18606
}Semantic roles & 50–950 ramp
primary
#8957F3
secondary
#DDEEB8
accent
#E3029B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85