#8D54C8#8D54C8
#8D54C8 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.176 H 304.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8D54C8 |
|---|---|
| RGB | rgb(141, 84, 200) |
| HSL | hsl(269, 51%, 56%) |
| HSV | hsv(269, 58%, 78%) |
| CMYK | cmyk(29.5%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(47.20, 46.13, -51.71) |
| CIE-LCH | lch(47.20, 69.29, 311.73°) |
| OKLab | oklab(56.44% 0.0984 -0.1461) |
| OKLCH | oklch(56.44% 0.176 304) |
| XYZ | xyz(24.5778, 16.1736, 56.4594) |
| Luminance | 0.1617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.23
Purpley
#8756E4
ΔE00 4.69
Amethyst
#9B5FC0
ΔE00 4.99
Lightish Purple
#A552E6
ΔE00 5.80
Royal Purple
#7851A9
ΔE00 6.09
Darkorchid
#9932CC
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D54C8 #8FC854
analogous
#5455C8 #8D54C8 #C754C8
triadic
#8D54C8 #C88D54 #54C88D
tetradic
#8D54C8 #C85455 #8FC854 #54C8C7
square
#8D54C8 #C85455 #8FC854 #54C8C7
split-complementary
#8D54C8 #C8C754 #55C854
monochromatic
#50277A #6E36A9 #8D54C8 #AC82D7 #CBB1E6
Accessibility & contrast
On white
4.96
#8D54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#8D54C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D54C8
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D54C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D54C8 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216FCC
Deuteranopia (green-blind)
#3A70C5
Tritanopia (blue-blind)
#826B86
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8d54c8; /* rgb */ color: rgb(141, 84, 200); /* oklch */ color: oklch(56.4% 0.176 304.0);
Tailwind
colors: {
custom: {
50: '#b286d9',
500: '#8d54c8',
950: '#000000',
},
}SCSS
$custom: #8d54c8; $custom-light: #b286d9; $custom-dark: #000000;
JSON
{
"hex": "#8d54c8",
"rgb": {
"r": 141,
"g": 84,
"b": 200
},
"hsl": {
"h": 269.483,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.56444,
"c": 0.17614,
"h": 304
},
"luminance": 0.16173
}Semantic roles & 50–950 ramp
primary
#8D54C8
secondary
#BCD4A4
accent
#DB4D95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83