#8A4CC0#8A4CC0
#8A4CC0 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.178 H 306.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4CC0 |
|---|---|
| RGB | rgb(138, 76, 192) |
| HSL | hsl(272, 48%, 53%) |
| HSV | hsv(272, 60%, 75%) |
| CMYK | cmyk(28.1%, 60.4%, 0%, 24.7%) |
| CIE-LAB | lab(44.77, 47.72, -51.00) |
| CIE-LCH | lch(44.77, 69.84, 313.10°) |
| OKLab | oklab(54.43% 0.1045 -0.1441) |
| OKLCH | oklch(54.43% 0.178 306) |
| XYZ | xyz(22.5781, 14.3781, 51.4448) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.79
Royal Purple
#7851A9
ΔE00 4.92
Darkorchid
#9932CC
ΔE00 5.00
Deep Lavender
#8D5EB7
ΔE00 5.39
Purpley
#8756E4
ΔE00 6.39
Amethyst
#9B5FC0
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4CC0 #82C04C
analogous
#504CC0 #8A4CC0 #C04CBC
triadic
#8A4CC0 #C08A4C #4CC08A
tetradic
#8A4CC0 #C0504C #82C04C #4CBCC0
square
#8A4CC0 #C0504C #82C04C #4CBCC0
split-complementary
#8A4CC0 #BCC04C #4CC050
monochromatic
#4B266C #6B3699 #8A4CC0 #A879D0 #C5A7E0
Accessibility & contrast
On white
5.42
#8A4CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#8A4CC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4CC0
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4CC0 | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1468C4
Deuteranopia (green-blind)
#356ABD
Tritanopia (blue-blind)
#81637F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a4cc0; /* rgb */ color: rgb(138, 76, 192); /* oklch */ color: oklch(54.4% 0.178 306.0);
Tailwind
colors: {
custom: {
50: '#b081d4',
500: '#8a4cc0',
950: '#000000',
},
}SCSS
$custom: #8a4cc0; $custom-light: #b081d4; $custom-dark: #000000;
JSON
{
"hex": "#8a4cc0",
"rgb": {
"r": 138,
"g": 76,
"b": 192
},
"hsl": {
"h": 272.069,
"s": 47.934,
"l": 52.549
},
"oklch": {
"l": 0.54433,
"c": 0.17799,
"h": 306
},
"luminance": 0.14378
}Semantic roles & 50–950 ramp
primary
#8A4CC0
secondary
#B2CD9B
accent
#D8508F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83