#8F4AC2#8F4AC2
#8F4AC2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.185 H 307.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4AC2 |
|---|---|
| RGB | rgb(143, 74, 194) |
| HSL | hsl(275, 50%, 53%) |
| HSV | hsv(275, 62%, 76%) |
| CMYK | cmyk(26.3%, 61.9%, 0%, 23.9%) |
| CIE-LAB | lab(45.13, 50.40, -51.55) |
| CIE-LCH | lch(45.13, 72.09, 314.35°) |
| OKLab | oklab(54.87% 0.1134 -0.1455) |
| OKLCH | oklch(54.87% 0.185 307.9) |
| XYZ | xyz(23.5121, 14.6326, 52.6142) |
| Luminance | 0.1463 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.19
Darkorchid
#9932CC
ΔE00 4.30
Deep Lavender
#8D5EB7
ΔE00 5.67
Royal Purple
#7851A9
ΔE00 5.78
Amethyst
#9B5FC0
ΔE00 6.42
Purpley
#8756E4
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4AC2 #7DC24A
analogous
#534AC2 #8F4AC2 #C24AB9
triadic
#8F4AC2 #C28F4A #4AC28F
tetradic
#8F4AC2 #C2534A #7DC24A #4AB9C2
square
#8F4AC2 #C2534A #7DC24A #4AB9C2
split-complementary
#8F4AC2 #B9C24A #4AC253
monochromatic
#4E256D #6F349B #8F4AC2 #AB78D1 #C8A6E1
Accessibility & contrast
On white
5.35
#8F4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#8F4AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4AC2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4AC2 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B68C6
Deuteranopia (green-blind)
#366CBF
Tritanopia (blue-blind)
#87627F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8f4ac2; /* rgb */ color: rgb(143, 74, 194); /* oklch */ color: oklch(54.9% 0.185 307.9);
Tailwind
colors: {
custom: {
50: '#b380d5',
500: '#8f4ac2',
950: '#000000',
},
}SCSS
$custom: #8f4ac2; $custom-light: #b380d5; $custom-dark: #000000;
JSON
{
"hex": "#8f4ac2",
"rgb": {
"r": 143,
"g": 74,
"b": 194
},
"hsl": {
"h": 274.5,
"s": 49.587,
"l": 52.549
},
"oklch": {
"l": 0.54866,
"c": 0.18453,
"h": 307.9
},
"luminance": 0.14632
}Semantic roles & 50–950 ramp
primary
#8F4AC2
secondary
#B0CE9A
accent
#D94F8A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83