#8E4AC2#8E4AC2
#8E4AC2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.184 H 307.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4AC2 |
|---|---|
| RGB | rgb(142, 74, 194) |
| HSL | hsl(274, 50%, 53%) |
| HSV | hsv(274, 62%, 76%) |
| CMYK | cmyk(26.8%, 61.9%, 0%, 23.9%) |
| CIE-LAB | lab(45.00, 50.16, -51.76) |
| CIE-LCH | lch(45.00, 72.08, 314.10°) |
| OKLab | oklab(54.75% 0.1121 -0.1462) |
| OKLCH | oklch(54.75% 0.184 307.5) |
| XYZ | xyz(23.3397, 14.5437, 52.6061) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.30
Darkorchid
#9932CC
ΔE00 4.34
Royal Purple
#7851A9
ΔE00 5.66
Deep Lavender
#8D5EB7
ΔE00 5.71
Purpley
#8756E4
ΔE00 6.50
Amethyst
#9B5FC0
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4AC2 #7EC24A
analogous
#524AC2 #8E4AC2 #C24ABA
triadic
#8E4AC2 #C28E4A #4AC28E
tetradic
#8E4AC2 #C2524A #7EC24A #4ABAC2
square
#8E4AC2 #C2524A #7EC24A #4ABAC2
split-complementary
#8E4AC2 #BAC24A #4AC252
monochromatic
#4E256D #6E349B #8E4AC2 #AB78D1 #C7A6E1
Accessibility & contrast
On white
5.37
#8E4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#8E4AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4AC2
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4AC2 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0968C6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#86627F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8e4ac2; /* rgb */ color: rgb(142, 74, 194); /* oklch */ color: oklch(54.7% 0.184 307.5);
Tailwind
colors: {
custom: {
50: '#b380d5',
500: '#8e4ac2',
950: '#000000',
},
}SCSS
$custom: #8e4ac2; $custom-light: #b380d5; $custom-dark: #000000;
JSON
{
"hex": "#8e4ac2",
"rgb": {
"r": 142,
"g": 74,
"b": 194
},
"hsl": {
"h": 274,
"s": 49.587,
"l": 52.549
},
"oklch": {
"l": 0.54749,
"c": 0.18422,
"h": 307.5
},
"luminance": 0.14543
}Semantic roles & 50–950 ramp
primary
#8E4AC2
secondary
#B0CE9A
accent
#D94F8B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83