#8A4ED3#8A4ED3
#8A4ED3 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.197 H 301.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4ED3 |
|---|---|
| RGB | rgb(138, 78, 211) |
| HSL | hsl(267, 60%, 57%) |
| HSV | hsv(267, 63%, 83%) |
| CMYK | cmyk(34.6%, 63%, 0%, 17.3%) |
| CIE-LAB | lab(46.39, 51.29, -59.36) |
| CIE-LCH | lch(46.39, 78.45, 310.83°) |
| OKLab | oklab(56% 0.1013 -0.1686) |
| OKLCH | oklch(56% 0.197 301) |
| XYZ | xyz(24.9607, 15.5551, 63.3028) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.46
Darkorchid
#9932CC
ΔE00 5.71
Lightish Purple
#A552E6
ΔE00 5.80
Blueviolet
#8A2BE2
ΔE00 6.22
Light Indigo
#6D5ACF
ΔE00 6.29
Deep Lavender
#8D5EB7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4ED3 #97D34E
analogous
#4E55D3 #8A4ED3 #CD4ED3
triadic
#8A4ED3 #D38A4E #4ED38A
tetradic
#8A4ED3 #D34E55 #97D34E #4ED3CD
square
#8A4ED3 #D34E55 #97D34E #4ED3CD
split-complementary
#8A4ED3 #D3CD4E #55D34E
monochromatic
#4E2185 #6B2DB6 #8A4ED3 #AA7FDF #CBB0EB
Accessibility & contrast
On white
5.11
#8A4ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#8A4ED3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4ED3
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4ED3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4ED3 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#1A6DD0
Tritanopia (blue-blind)
#7B6B89
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a4ed3; /* rgb */ color: rgb(138, 78, 211); /* oklch */ color: oklch(56.0% 0.197 301.0);
Tailwind
colors: {
custom: {
50: '#b183e1',
500: '#8a4ed3',
950: '#000000',
},
}SCSS
$custom: #8a4ed3; $custom-light: #b183e1; $custom-dark: #000000;
JSON
{
"hex": "#8a4ed3",
"rgb": {
"r": 138,
"g": 78,
"b": 211
},
"hsl": {
"h": 267.068,
"s": 60.181,
"l": 56.667
},
"oklch": {
"l": 0.55998,
"c": 0.19671,
"h": 301
},
"luminance": 0.15555
}Semantic roles & 50–950 ramp
primary
#8A4ED3
secondary
#C1DAA3
accent
#E3449C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83