#8A4EC9#8A4EC9
#8A4EC9 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.185 H 303.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4EC9 |
|---|---|
| RGB | rgb(138, 78, 201) |
| HSL | hsl(269, 53%, 55%) |
| HSV | hsv(269, 61%, 79%) |
| CMYK | cmyk(31.3%, 61.2%, 0%, 21.2%) |
| CIE-LAB | lab(45.73, 48.84, -54.67) |
| CIE-LCH | lch(45.73, 73.31, 311.77°) |
| OKLab | oklab(55.31% 0.1018 -0.1549) |
| OKLCH | oklch(55.31% 0.185 303.3) |
| XYZ | xyz(23.7458, 15.0691, 56.9047) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.83
Darkorchid
#9932CC
ΔE00 5.35
Deep Lavender
#8D5EB7
ΔE00 5.63
Royal Purple
#7851A9
ΔE00 5.87
Purply
#983FB2
ΔE00 6.07
Lightish Purple
#A552E6
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4EC9 #8DC94E
analogous
#4E50C9 #8A4EC9 #C74EC9
triadic
#8A4EC9 #C98A4E #4EC98A
tetradic
#8A4EC9 #C94E50 #8DC94E #4EC9C7
square
#8A4EC9 #C94E50 #8DC94E #4EC9C7
split-complementary
#8A4EC9 #C9C74E #50C94E
monochromatic
#4D2578 #6B33A7 #8A4EC9 #A97DD7 #C8ACE6
Accessibility & contrast
On white
5.23
#8A4EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#8A4EC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4EC9
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4EC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4EC9 | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#2D6CC6
Tritanopia (blue-blind)
#7E6884
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a4ec9; /* rgb */ color: rgb(138, 78, 201); /* oklch */ color: oklch(55.3% 0.185 303.3);
Tailwind
colors: {
custom: {
50: '#b083da',
500: '#8a4ec9',
950: '#000000',
},
}SCSS
$custom: #8a4ec9; $custom-light: #b083da; $custom-dark: #000000;
JSON
{
"hex": "#8a4ec9",
"rgb": {
"r": 138,
"g": 78,
"b": 201
},
"hsl": {
"h": 269.268,
"s": 53.247,
"l": 54.706
},
"oklch": {
"l": 0.55313,
"c": 0.18533,
"h": 303.3
},
"luminance": 0.15069
}Semantic roles & 50–950 ramp
primary
#8A4EC9
secondary
#BAD39F
accent
#DD4B96
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83