#8F5ABA#8F5ABA
#8F5ABA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.151 H 307.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8F5ABA |
|---|---|
| RGB | rgb(143, 90, 186) |
| HSL | hsl(273, 41%, 54%) |
| HSV | hsv(273, 52%, 73%) |
| CMYK | cmyk(23.1%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(47.88, 40.02, -42.52) |
| CIE-LCH | lch(47.88, 58.39, 313.27°) |
| OKLab | oklab(56.73% 0.0924 -0.1192) |
| OKLCH | oklch(56.73% 0.151 307.8) |
| XYZ | xyz(23.8450, 16.6974, 48.4116) |
| Luminance | 0.1670 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.35
Amethyst
#9B5FC0
ΔE00 3.01
Royal Purple
#7851A9
ΔE00 5.67
Deep Lilac
#966EBD
ΔE00 6.32
Purply
#983FB2
ΔE00 6.67
Purpley
#8756E4
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F5ABA #85BA5A
analogous
#5F5ABA #8F5ABA #BA5AB5
triadic
#8F5ABA #BA8F5A #5ABA8F
tetradic
#8F5ABA #BA5F5A #85BA5A #5AB5BA
square
#8F5ABA #BA5F5A #85BA5A #5AB5BA
split-complementary
#8F5ABA #B5BA5A #5ABA5F
monochromatic
#502D6C #703F97 #8F5ABA #AC85CC #CAB0DE
Accessibility & contrast
On white
4.84
#8F5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#8F5ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F5ABA
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F5ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F5ABA | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E70BD
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#896B81
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8f5aba; /* rgb */ color: rgb(143, 90, 186); /* oklch */ color: oklch(56.7% 0.151 307.8);
Tailwind
colors: {
custom: {
50: '#b28acf',
500: '#8f5aba',
950: '#000000',
},
}SCSS
$custom: #8f5aba; $custom-light: #b28acf; $custom-dark: #000000;
JSON
{
"hex": "#8f5aba",
"rgb": {
"r": 143,
"g": 90,
"b": 186
},
"hsl": {
"h": 273.125,
"s": 41.026,
"l": 54.118
},
"oklch": {
"l": 0.56732,
"c": 0.15078,
"h": 307.8
},
"luminance": 0.16697
}Semantic roles & 50–950 ramp
primary
#8F5ABA
secondary
#B6CCA3
accent
#D1578E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82