#8A4EC0#8A4EC0
#8A4EC0 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.175 H 305.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4EC0 |
|---|---|
| RGB | rgb(138, 78, 192) |
| HSL | hsl(272, 48%, 53%) |
| HSV | hsv(272, 59%, 75%) |
| CMYK | cmyk(28.1%, 59.4%, 0%, 24.7%) |
| CIE-LAB | lab(45.16, 46.67, -50.37) |
| CIE-LCH | lch(45.16, 68.67, 312.82°) |
| OKLab | oklab(54.72% 0.102 -0.1422) |
| OKLCH | oklch(54.72% 0.175 305.7) |
| XYZ | xyz(22.7180, 14.6580, 51.4914) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.83
Deep Lavender
#8D5EB7
ΔE00 4.94
Purply
#983FB2
ΔE00 5.06
Darkorchid
#9932CC
ΔE00 5.42
Purpley
#8756E4
ΔE00 6.20
Amethyst
#9B5FC0
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4EC0 #84C04E
analogous
#514EC0 #8A4EC0 #C04EBD
triadic
#8A4EC0 #C08A4E #4EC08A
tetradic
#8A4EC0 #C0514E #84C04E #4EBDC0
square
#8A4EC0 #C0514E #84C04E #4EBDC0
split-complementary
#8A4EC0 #BDC04E #4EC051
monochromatic
#4C276D #6B379A #8A4EC0 #A87BD0 #C6A8E0
Accessibility & contrast
On white
5.34
#8A4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#8A4EC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4EC0
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4EC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4EC0 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B69C4
Deuteranopia (green-blind)
#376BBD
Tritanopia (blue-blind)
#816580
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8a4ec0; /* rgb */ color: rgb(138, 78, 192); /* oklch */ color: oklch(54.7% 0.175 305.7);
Tailwind
colors: {
custom: {
50: '#b082d4',
500: '#8a4ec0',
950: '#000000',
},
}SCSS
$custom: #8a4ec0; $custom-light: #b082d4; $custom-dark: #000000;
JSON
{
"hex": "#8a4ec0",
"rgb": {
"r": 138,
"g": 78,
"b": 192
},
"hsl": {
"h": 271.579,
"s": 47.5,
"l": 52.941
},
"oklch": {
"l": 0.54719,
"c": 0.17504,
"h": 305.7
},
"luminance": 0.14658
}Semantic roles & 50–950 ramp
primary
#8A4EC0
secondary
#B4CE9C
accent
#D75190
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83