#8A4CD3#8A4CD3
#8A4CD3 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.7% C 0.199 H 301.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4CD3 |
|---|---|
| RGB | rgb(138, 76, 211) |
| HSL | hsl(268, 61%, 56%) |
| HSV | hsv(268, 64%, 83%) |
| CMYK | cmyk(34.6%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(46.01, 52.31, -59.97) |
| CIE-LCH | lch(46.01, 79.58, 311.10°) |
| OKLab | oklab(55.73% 0.1035 -0.1704) |
| OKLCH | oklch(55.73% 0.199 301.3) |
| XYZ | xyz(24.8207, 15.2752, 63.2561) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.78
Darkorchid
#9932CC
ΔE00 5.31
Blueviolet
#8A2BE2
ΔE00 5.78
Lightish Purple
#A552E6
ΔE00 6.01
Bluish Purple
#703BE7
ΔE00 6.41
Light Indigo
#6D5ACF
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4CD3 #95D34C
analogous
#4C52D3 #8A4CD3 #CE4CD3
triadic
#8A4CD3 #D38A4C #4CD38A
tetradic
#8A4CD3 #D34C52 #95D34C #4CD3CE
square
#8A4CD3 #D34C52 #95D34C #4CD3CE
split-complementary
#8A4CD3 #D3CE4C #52D34C
monochromatic
#4E2084 #6B2DB5 #8A4CD3 #AA7DDF #CAAEEB
Accessibility & contrast
On white
5.18
#8A4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#8A4CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4CD3
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4CD3 | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#146CD0
Tritanopia (blue-blind)
#7B6A89
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8a4cd3; /* rgb */ color: rgb(138, 76, 211); /* oklch */ color: oklch(55.7% 0.199 301.3);
Tailwind
colors: {
custom: {
50: '#b182e1',
500: '#8a4cd3',
950: '#000000',
},
}SCSS
$custom: #8a4cd3; $custom-light: #b182e1; $custom-dark: #000000;
JSON
{
"hex": "#8a4cd3",
"rgb": {
"r": 138,
"g": 76,
"b": 211
},
"hsl": {
"h": 267.556,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.55726,
"c": 0.19941,
"h": 301.3
},
"luminance": 0.15275
}Semantic roles & 50–950 ramp
primary
#8A4CD3
secondary
#C0D9A2
accent
#E4449A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83