#8957E3#8957E3
#8957E3 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.203 H 295.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8957E3 |
|---|---|
| RGB | rgb(137, 87, 227) |
| HSL | hsl(261, 71%, 62%) |
| HSV | hsv(261, 62%, 89%) |
| CMYK | cmyk(39.6%, 61.7%, 0%, 11%) |
| CIE-LAB | lab(49.11, 50.42, -64.08) |
| CIE-LCH | lch(49.11, 81.53, 308.20°) |
| OKLab | oklab(58.29% 0.0887 -0.1826) |
| OKLCH | oklch(58.29% 0.203 295.9) |
| XYZ | xyz(27.5862, 17.6803, 74.6174) |
| Luminance | 0.1768 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 0.49
Lightish Purple
#A552E6
ΔE00 5.05
Lighter Purple
#A55AF4
ΔE00 5.60
Light Indigo
#6D5ACF
ΔE00 5.73
Mediumslateblue
#7B68EE
ΔE00 5.76
Slate Blue
#6A5ACD
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8957E3 #B1E357
analogous
#576BE3 #8957E3 #CF57E3
triadic
#8957E3 #E38957 #57E389
tetradic
#8957E3 #E3576B #B1E357 #57E3CF
square
#8957E3 #E3576B #B1E357 #57E3CF
split-complementary
#8957E3 #E3CF57 #6BE357
monochromatic
#4C1BA4 #6524D9 #8957E3 #AE8BEC #D3C0F4
Accessibility & contrast
On white
4.63
#8957E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#8957E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8957E3
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8957E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8957E3 | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#727695
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8957e3; /* rgb */ color: rgb(137, 87, 227); /* oklch */ color: oklch(58.3% 0.203 295.9);
Tailwind
colors: {
custom: {
50: '#b189ed',
500: '#8957e3',
950: '#000000',
},
}SCSS
$custom: #8957e3; $custom-light: #b189ed; $custom-dark: #000000;
JSON
{
"hex": "#8957e3",
"rgb": {
"r": 137,
"g": 87,
"b": 227
},
"hsl": {
"h": 261.429,
"s": 71.429,
"l": 61.569
},
"oklch": {
"l": 0.58288,
"c": 0.20298,
"h": 295.9
},
"luminance": 0.17681
}Semantic roles & 50–950 ramp
primary
#8957E3
secondary
#D2E5B1
accent
#D3128E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84