#8A5EBF#8A5EBF
#8A5EBF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.1% C 0.149 H 302.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5EBF |
|---|---|
| RGB | rgb(138, 94, 191) |
| HSL | hsl(267, 43%, 56%) |
| HSV | hsv(267, 51%, 75%) |
| CMYK | cmyk(27.7%, 50.8%, 0%, 25.1%) |
| CIE-LAB | lab(48.47, 37.62, -44.50) |
| CIE-LCH | lch(48.47, 58.27, 310.21°) |
| OKLab | oklab(57.14% 0.081 -0.1251) |
| OKLCH | oklch(57.14% 0.149 302.9) |
| XYZ | xyz(23.8858, 17.1703, 51.3359) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.87
Amethyst
#9B5FC0
ΔE00 3.76
Deep Lilac
#966EBD
ΔE00 5.85
Royal Purple
#7851A9
ΔE00 5.93
Purpley
#8756E4
ΔE00 6.32
Mediumpurple
#9370DB
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5EBF #93BF5E
analogous
#5E62BF #8A5EBF #BA5EBF
triadic
#8A5EBF #BF8A5E #5EBF8A
tetradic
#8A5EBF #BF5E62 #93BF5E #5EBFBA
square
#8A5EBF #BF5E62 #93BF5E #5EBFBA
split-complementary
#8A5EBF #BFBA5E #62BF5E
monochromatic
#4E2E74 #6B40A0 #8A5EBF #AA8AD0 #CAB6E2
Accessibility & contrast
On white
4.74
#8A5EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#8A5EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5EBF
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5EBF | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#807086
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8a5ebf; /* rgb */ color: rgb(138, 94, 191); /* oklch */ color: oklch(57.1% 0.149 302.9);
Tailwind
colors: {
custom: {
50: '#af8dd3',
500: '#8a5ebf',
950: '#000000',
},
}SCSS
$custom: #8a5ebf; $custom-light: #af8dd3; $custom-dark: #000000;
JSON
{
"hex": "#8a5ebf",
"rgb": {
"r": 138,
"g": 94,
"b": 191
},
"hsl": {
"h": 267.216,
"s": 43.111,
"l": 55.882
},
"oklch": {
"l": 0.57139,
"c": 0.14904,
"h": 302.9
},
"luminance": 0.1717
}Semantic roles & 50–950 ramp
primary
#8A5EBF
secondary
#BED0A8
accent
#D3559A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83