#8D42C0#8D42C0
#8D42C0 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.5% C 0.193 H 308.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8D42C0 |
|---|---|
| RGB | rgb(141, 66, 192) |
| HSL | hsl(276, 50%, 51%) |
| HSV | hsv(276, 66%, 75%) |
| CMYK | cmyk(26.6%, 65.6%, 0%, 24.7%) |
| CIE-LAB | lab(43.31, 53.41, -53.33) |
| CIE-LCH | lch(43.31, 75.47, 315.05°) |
| OKLab | oklab(53.46% 0.1204 -0.1508) |
| OKLCH | oklch(53.46% 0.193 308.6) |
| XYZ | xyz(22.4452, 13.3653, 51.2563) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.11
Purply
#983FB2
ΔE00 3.67
Blueviolet
#8A2BE2
ΔE00 5.78
Royal Purple
#7851A9
ΔE00 6.11
Darkviolet
#9400D3
ΔE00 6.65
Vibrant Purple
#AD03DE
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D42C0 #75C042
analogous
#4E42C0 #8D42C0 #C042B4
triadic
#8D42C0 #C08D42 #42C08D
tetradic
#8D42C0 #C04E42 #75C042 #42B4C0
square
#8D42C0 #C04E42 #75C042 #42B4C0
split-complementary
#8D42C0 #B4C042 #42C04E
monochromatic
#4A2266 #6C3194 #8D42C0 #A970CF #C49EDF
Accessibility & contrast
On white
5.72
#8D42C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#8D42C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D42C0
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D42C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D42C0 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#855C7B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8d42c0; /* rgb */ color: rgb(141, 66, 192); /* oklch */ color: oklch(53.5% 0.193 308.6);
Tailwind
colors: {
custom: {
50: '#b27bd4',
500: '#8d42c0',
950: '#000000',
},
}SCSS
$custom: #8d42c0; $custom-light: #b27bd4; $custom-dark: #000000;
JSON
{
"hex": "#8d42c0",
"rgb": {
"r": 141,
"g": 66,
"b": 192
},
"hsl": {
"h": 275.714,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.53457,
"c": 0.19292,
"h": 308.6
},
"luminance": 0.13365
}Semantic roles & 50–950 ramp
primary
#8D42C0
secondary
#AACB93
accent
#DA4E87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83