#8A4FCA#8A4FCA
#8A4FCA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.185 H 302.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FCA |
|---|---|
| RGB | rgb(138, 79, 202) |
| HSL | hsl(269, 54%, 55%) |
| HSV | hsv(269, 61%, 79%) |
| CMYK | cmyk(31.7%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(45.99, 48.56, -54.83) |
| CIE-LCH | lch(45.99, 73.24, 311.53°) |
| OKLab | oklab(55.52% 0.1006 -0.1553) |
| OKLCH | oklch(55.52% 0.185 302.9) |
| XYZ | xyz(23.9354, 15.2595, 57.5501) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.57
Deep Lavender
#8D5EB7
ΔE00 5.54
Darkorchid
#9932CC
ΔE00 5.58
Royal Purple
#7851A9
ΔE00 5.98
Purply
#983FB2
ΔE00 6.32
Lightish Purple
#A552E6
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FCA #8FCA4F
analogous
#4F52CA #8A4FCA #C74FCA
triadic
#8A4FCA #CA8A4F #4FCA8A
tetradic
#8A4FCA #CA4F52 #8FCA4F #4FCAC7
square
#8A4FCA #CA4F52 #8FCA4F #4FCAC7
split-complementary
#8A4FCA #CAC74F #52CA4F
monochromatic
#4E257A #6B33A9 #8A4FCA #A97ED8 #C9ADE6
Accessibility & contrast
On white
5.18
#8A4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#8A4FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FCA
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FCA | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#2D6DC7
Tritanopia (blue-blind)
#7E6985
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8a4fca; /* rgb */ color: rgb(138, 79, 202); /* oklch */ color: oklch(55.5% 0.185 302.9);
Tailwind
colors: {
custom: {
50: '#b083db',
500: '#8a4fca',
950: '#000000',
},
}SCSS
$custom: #8a4fca; $custom-light: #b083db; $custom-dark: #000000;
JSON
{
"hex": "#8a4fca",
"rgb": {
"r": 138,
"g": 79,
"b": 202
},
"hsl": {
"h": 268.78,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.55522,
"c": 0.18506,
"h": 302.9
},
"luminance": 0.1526
}Semantic roles & 50–950 ramp
primary
#8A4FCA
secondary
#BBD4A1
accent
#DD4B97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83