#8F3ABA#8F3ABA
#8F3ABA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.4% C 0.198 H 312.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3ABA |
|---|---|
| RGB | rgb(143, 58, 186) |
| HSL | hsl(280, 52%, 48%) |
| HSV | hsv(280, 69%, 73%) |
| CMYK | cmyk(23.1%, 68.8%, 0%, 27.1%) |
| CIE-LAB | lab(41.86, 56.19, -52.13) |
| CIE-LCH | lch(41.86, 76.65, 317.15°) |
| OKLab | oklab(52.35% 0.1324 -0.1471) |
| OKLCH | oklch(52.35% 0.198 312) |
| XYZ | xyz(21.7021, 12.4115, 47.6973) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.89
Purply
#983FB2
ΔE00 2.94
Barney
#AC1DB8
ΔE00 5.57
Darkviolet
#9400D3
ΔE00 5.73
Blueviolet
#8A2BE2
ΔE00 6.11
Vibrant Purple
#AD03DE
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3ABA #65BA3A
analogous
#4F3ABA #8F3ABA #BA3AA5
triadic
#8F3ABA #BA8F3A #3ABA8F
tetradic
#8F3ABA #BA4F3A #65BA3A #3AA5BA
square
#8F3ABA #BA4F3A #65BA3A #3AA5BA
split-complementary
#8F3ABA #A5BA3A #3ABA4F
monochromatic
#471D5D #6B2B8B #8F3ABA #AA63CE #C492DD
Accessibility & contrast
On white
6.03
#8F3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#8F3ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3ABA
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3ABA | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#2C64B7
Tritanopia (blue-blind)
#8A5576
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8f3aba; /* rgb */ color: rgb(143, 58, 186); /* oklch */ color: oklch(52.4% 0.198 312.0);
Tailwind
colors: {
custom: {
50: '#b477cf',
500: '#8f3aba',
950: '#000000',
},
}SCSS
$custom: #8f3aba; $custom-light: #b477cf; $custom-dark: #000000;
JSON
{
"hex": "#8f3aba",
"rgb": {
"r": 143,
"g": 58,
"b": 186
},
"hsl": {
"h": 279.844,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.52351,
"c": 0.19793,
"h": 312
},
"luminance": 0.12411
}Semantic roles & 50–950 ramp
primary
#8F3ABA
secondary
#9DC888
accent
#DC4C7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82