#8A4DC2#8A4DC2
#8A4DC2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.179 H 305.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4DC2 |
|---|---|
| RGB | rgb(138, 77, 194) |
| HSL | hsl(271, 49%, 53%) |
| HSV | hsv(271, 60%, 76%) |
| CMYK | cmyk(28.9%, 60.3%, 0%, 23.9%) |
| CIE-LAB | lab(45.09, 47.67, -51.64) |
| CIE-LCH | lch(45.09, 70.28, 312.71°) |
| OKLab | oklab(54.71% 0.1032 -0.146) |
| OKLCH | oklch(54.71% 0.179 305.3) |
| XYZ | xyz(22.8706, 14.6062, 52.6429) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.08
Purply
#983FB2
ΔE00 5.14
Darkorchid
#9932CC
ΔE00 5.15
Deep Lavender
#8D5EB7
ΔE00 5.29
Purpley
#8756E4
ΔE00 5.98
Amethyst
#9B5FC0
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4DC2 #85C24D
analogous
#4F4DC2 #8A4DC2 #C24DBF
triadic
#8A4DC2 #C28A4D #4DC28A
tetradic
#8A4DC2 #C24F4D #85C24D #4DBFC2
square
#8A4DC2 #C24F4D #85C24D #4DBFC2
split-complementary
#8A4DC2 #BFC24D #4DC24F
monochromatic
#4C266F #6B369C #8A4DC2 #A87BD2 #C6A8E1
Accessibility & contrast
On white
5.36
#8A4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#8A4DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4DC2
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4DC2 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1369C6
Deuteranopia (green-blind)
#346BBF
Tritanopia (blue-blind)
#806480
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8a4dc2; /* rgb */ color: rgb(138, 77, 194); /* oklch */ color: oklch(54.7% 0.179 305.3);
Tailwind
colors: {
custom: {
50: '#b082d5',
500: '#8a4dc2',
950: '#000000',
},
}SCSS
$custom: #8a4dc2; $custom-light: #b082d5; $custom-dark: #000000;
JSON
{
"hex": "#8a4dc2",
"rgb": {
"r": 138,
"g": 77,
"b": 194
},
"hsl": {
"h": 271.282,
"s": 48.954,
"l": 53.137
},
"oklch": {
"l": 0.54706,
"c": 0.1788,
"h": 305.3
},
"luminance": 0.14606
}Semantic roles & 50–950 ramp
primary
#8A4DC2
secondary
#B4CF9C
accent
#D94F91
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83