#8957B2#8957B2
#8957B2 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.1% C 0.144 H 307.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8957B2 |
|---|---|
| RGB | rgb(137, 87, 178) |
| HSL | hsl(273, 37%, 52%) |
| HSV | hsv(273, 51%, 70%) |
| CMYK | cmyk(23%, 51.1%, 0%, 30.2%) |
| CIE-LAB | lab(46.11, 38.16, -40.70) |
| CIE-LCH | lch(46.11, 55.79, 313.16°) |
| OKLab | oklab(55.13% 0.0882 -0.114) |
| OKLCH | oklch(55.13% 0.144 307.7) |
| XYZ | xyz(21.7590, 15.3494, 43.9273) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.30
Royal Purple
#7851A9
ΔE00 3.99
Amethyst
#9B5FC0
ΔE00 4.73
Purply
#983FB2
ΔE00 6.12
Medium Purple
#9E43A2
ΔE00 7.39
Deep Lilac
#966EBD
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8957B2 #80B257
analogous
#5C57B2 #8957B2 #B257AE
triadic
#8957B2 #B28957 #57B289
tetradic
#8957B2 #B25C57 #80B257 #57AEB2
square
#8957B2 #B25C57 #80B257 #57AEB2
split-complementary
#8957B2 #AEB257 #57B25C
monochromatic
#4A2D62 #6A408C #8957B2 #A681C5 #C4ABD8
Accessibility & contrast
On white
5.16
#8957B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#8957B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8957B2
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8957B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8957B2 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#83677C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8957b2; /* rgb */ color: rgb(137, 87, 178); /* oklch */ color: oklch(55.1% 0.144 307.7);
Tailwind
colors: {
custom: {
50: '#ae88c9',
500: '#8957b2',
950: '#000000',
},
}SCSS
$custom: #8957b2; $custom-light: #ae88c9; $custom-dark: #000000;
JSON
{
"hex": "#8957b2",
"rgb": {
"r": 137,
"g": 87,
"b": 178
},
"hsl": {
"h": 272.967,
"s": 37.143,
"l": 51.961
},
"oklch": {
"l": 0.55128,
"c": 0.14412,
"h": 307.7
},
"luminance": 0.15349
}Semantic roles & 50–950 ramp
primary
#8957B2
secondary
#B0C69E
accent
#CD5B8E
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100B13
muted
#7F7C82