#8F4ABA#8F4ABA
#8F4ABA is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.176 H 310.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4ABA |
|---|---|
| RGB | rgb(143, 74, 186) |
| HSL | hsl(277, 45%, 51%) |
| HSV | hsv(277, 60%, 73%) |
| CMYK | cmyk(23.1%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(44.64, 48.57, -47.68) |
| CIE-LCH | lch(44.64, 68.06, 315.53°) |
| OKLab | oklab(54.35% 0.1136 -0.1342) |
| OKLCH | oklch(54.35% 0.176 310.2) |
| XYZ | xyz(22.6377, 14.2828, 48.0092) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.25
Darkorchid
#9932CC
ΔE00 4.77
Royal Purple
#7851A9
ΔE00 5.25
Deep Lavender
#8D5EB7
ΔE00 5.40
Medium Purple
#9E43A2
ΔE00 6.27
Amethyst
#9B5FC0
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4ABA #75BA4A
analogous
#574ABA #8F4ABA #BA4AAD
triadic
#8F4ABA #BA8F4A #4ABA8F
tetradic
#8F4ABA #BA574A #75BA4A #4AADBA
square
#8F4ABA #BA574A #75BA4A #4AADBA
split-complementary
#8F4ABA #ADBA4A #4ABA57
monochromatic
#4C2664 #6E3790 #8F4ABA #AA76CB #C6A3DC
Accessibility & contrast
On white
5.45
#8F4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#8F4ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4ABA
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4ABA | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E66BE
Deuteranopia (green-blind)
#3E6BB7
Tritanopia (blue-blind)
#895F7B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8f4aba; /* rgb */ color: rgb(143, 74, 186); /* oklch */ color: oklch(54.4% 0.176 310.2);
Tailwind
colors: {
custom: {
50: '#b380cf',
500: '#8f4aba',
950: '#000000',
},
}SCSS
$custom: #8f4aba; $custom-light: #b380cf; $custom-dark: #000000;
JSON
{
"hex": "#8f4aba",
"rgb": {
"r": 143,
"g": 74,
"b": 186
},
"hsl": {
"h": 276.964,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.54352,
"c": 0.1758,
"h": 310.2
},
"luminance": 0.14282
}Semantic roles & 50–950 ramp
primary
#8F4ABA
secondary
#AAC997
accent
#D55385
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82