#8A4DC3#8A4DC3
#8A4DC3 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.180 H 305.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4DC3 |
|---|---|
| RGB | rgb(138, 77, 195) |
| HSL | hsl(271, 50%, 53%) |
| HSV | hsv(271, 61%, 76%) |
| CMYK | cmyk(29.2%, 60.5%, 0%, 23.5%) |
| CIE-LAB | lab(45.15, 47.91, -52.12) |
| CIE-LCH | lch(45.15, 70.80, 312.59°) |
| OKLab | oklab(54.77% 0.1032 -0.1474) |
| OKLCH | oklch(54.77% 0.18 305) |
| XYZ | xyz(22.9833, 14.6513, 53.2364) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.14
Royal Purple
#7851A9
ΔE00 5.19
Purply
#983FB2
ΔE00 5.25
Deep Lavender
#8D5EB7
ΔE00 5.36
Purpley
#8756E4
ΔE00 5.83
Amethyst
#9B5FC0
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4DC3 #86C34D
analogous
#4F4DC3 #8A4DC3 #C34DC1
triadic
#8A4DC3 #C38A4D #4DC38A
tetradic
#8A4DC3 #C34F4D #86C34D #4DC1C3
square
#8A4DC3 #C34F4D #86C34D #4DC1C3
split-complementary
#8A4DC3 #C1C34D #4DC34F
monochromatic
#4C2670 #6B359E #8A4DC3 #A87BD2 #C6A9E2
Accessibility & contrast
On white
5.34
#8A4DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#8A4DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4DC3
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4DC3 | 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)
#1069C7
Deuteranopia (green-blind)
#336BC0
Tritanopia (blue-blind)
#806581
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8a4dc3; /* rgb */ color: rgb(138, 77, 195); /* oklch */ color: oklch(54.8% 0.180 305.0);
Tailwind
colors: {
custom: {
50: '#b082d6',
500: '#8a4dc3',
950: '#000000',
},
}SCSS
$custom: #8a4dc3; $custom-light: #b082d6; $custom-dark: #000000;
JSON
{
"hex": "#8a4dc3",
"rgb": {
"r": 138,
"g": 77,
"b": 195
},
"hsl": {
"h": 271.017,
"s": 49.58,
"l": 53.333
},
"oklch": {
"l": 0.54772,
"c": 0.17993,
"h": 305
},
"luminance": 0.14651
}Semantic roles & 50–950 ramp
primary
#8A4DC3
secondary
#B5CF9D
accent
#D94F92
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83