#8A4DC0#8A4DC0
#8A4DC0 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.177 H 305.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4DC0 |
|---|---|
| RGB | rgb(138, 77, 192) |
| HSL | hsl(272, 48%, 53%) |
| HSV | hsv(272, 60%, 75%) |
| CMYK | cmyk(28.1%, 59.9%, 0%, 24.7%) |
| CIE-LAB | lab(44.97, 47.20, -50.68) |
| CIE-LCH | lch(44.97, 69.25, 312.96°) |
| OKLab | oklab(54.58% 0.1033 -0.1431) |
| OKLCH | oklch(54.58% 0.177 305.8) |
| XYZ | xyz(22.6475, 14.5170, 51.4679) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.87
Purply
#983FB2
ΔE00 4.92
Deep Lavender
#8D5EB7
ΔE00 5.17
Darkorchid
#9932CC
ΔE00 5.21
Purpley
#8756E4
ΔE00 6.29
Amethyst
#9B5FC0
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4DC0 #83C04D
analogous
#504DC0 #8A4DC0 #C04DBD
triadic
#8A4DC0 #C08A4D #4DC08A
tetradic
#8A4DC0 #C0504D #83C04D #4DBDC0
square
#8A4DC0 #C0504D #83C04D #4DBDC0
split-complementary
#8A4DC0 #BDC04D #4DC050
monochromatic
#4B266C #6B3699 #8A4DC0 #A87AD0 #C5A7E0
Accessibility & contrast
On white
5.38
#8A4DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#8A4DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4DC0
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4DC0 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1768C4
Deuteranopia (green-blind)
#366BBD
Tritanopia (blue-blind)
#81647F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a4dc0; /* rgb */ color: rgb(138, 77, 192); /* oklch */ color: oklch(54.6% 0.177 305.8);
Tailwind
colors: {
custom: {
50: '#b082d4',
500: '#8a4dc0',
950: '#000000',
},
}SCSS
$custom: #8a4dc0; $custom-light: #b082d4; $custom-dark: #000000;
JSON
{
"hex": "#8a4dc0",
"rgb": {
"r": 138,
"g": 77,
"b": 192
},
"hsl": {
"h": 271.826,
"s": 47.718,
"l": 52.745
},
"oklch": {
"l": 0.54575,
"c": 0.17652,
"h": 305.8
},
"luminance": 0.14517
}Semantic roles & 50–950 ramp
primary
#8A4DC0
secondary
#B3CD9B
accent
#D75090
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83