#8A54C0#8A54C0
#8A54C0 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.166 H 304.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A54C0 |
|---|---|
| RGB | rgb(138, 84, 192) |
| HSL | hsl(270, 46%, 54%) |
| HSV | hsv(270, 56%, 75%) |
| CMYK | cmyk(28.1%, 56.3%, 0%, 24.7%) |
| CIE-LAB | lab(46.38, 43.44, -48.42) |
| CIE-LCH | lch(46.38, 65.05, 311.90°) |
| OKLab | oklab(55.61% 0.0944 -0.1365) |
| OKLCH | oklch(55.61% 0.166 304.7) |
| XYZ | xyz(23.1639, 15.5498, 51.6400) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.59
Royal Purple
#7851A9
ΔE00 4.86
Amethyst
#9B5FC0
ΔE00 5.05
Purpley
#8756E4
ΔE00 5.82
Purply
#983FB2
ΔE00 6.09
Darkorchid
#9932CC
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A54C0 #8AC054
analogous
#5454C0 #8A54C0 #C054C0
triadic
#8A54C0 #C08A54 #54C08A
tetradic
#8A54C0 #C05454 #8AC054 #54C0C0
square
#8A54C0 #C05454 #8AC054 #54C0C0
split-complementary
#8A54C0 #C0C054 #54C054
monochromatic
#4D2970 #6B3A9D #8A54C0 #A981D0 #C7ADE1
Accessibility & contrast
On white
5.11
#8A54C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#8A54C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A54C0
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A54C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A54C0 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6CC4
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#816982
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a54c0; /* rgb */ color: rgb(138, 84, 192); /* oklch */ color: oklch(55.6% 0.166 304.7);
Tailwind
colors: {
custom: {
50: '#af86d3',
500: '#8a54c0',
950: '#000000',
},
}SCSS
$custom: #8a54c0; $custom-light: #af86d3; $custom-dark: #000000;
JSON
{
"hex": "#8a54c0",
"rgb": {
"r": 138,
"g": 84,
"b": 192
},
"hsl": {
"h": 270,
"s": 46.154,
"l": 54.118
},
"oklch": {
"l": 0.55609,
"c": 0.16598,
"h": 304.7
},
"luminance": 0.1555
}Semantic roles & 50–950 ramp
primary
#8A54C0
secondary
#B8CFA1
accent
#D65294
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83