#8D43B4#8D43B4
#8D43B4 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.179 H 312.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8D43B4 |
|---|---|
| RGB | rgb(141, 67, 180) |
| HSL | hsl(279, 46%, 48%) |
| HSV | hsv(279, 63%, 71%) |
| CMYK | cmyk(21.7%, 62.8%, 0%, 29.4%) |
| CIE-LAB | lab(42.72, 50.25, -47.24) |
| CIE-LCH | lch(42.72, 68.97, 316.77°) |
| OKLab | oklab(52.79% 0.1198 -0.1329) |
| OKLCH | oklch(52.79% 0.179 312) |
| XYZ | xyz(21.2284, 12.9728, 44.5569) |
| Luminance | 0.1297 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.35
Darkorchid
#9932CC
ΔE00 4.36
Royal Purple
#7851A9
ΔE00 5.48
Medium Purple
#9E43A2
ΔE00 5.76
Barney
#AC1DB8
ΔE00 6.41
Deep Lavender
#8D5EB7
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D43B4 #6AB443
analogous
#5443B4 #8D43B4 #B443A2
triadic
#8D43B4 #B48D43 #43B48D
tetradic
#8D43B4 #B45443 #6AB443 #43A2B4
square
#8D43B4 #B45443 #6AB443 #43A2B4
split-complementary
#8D43B4 #A2B443 #43B454
monochromatic
#47225B #6A3287 #8D43B4 #A86CC8 #C399D9
Accessibility & contrast
On white
5.84
#8D43B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#8D43B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D43B4
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D43B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D43B4 | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1261B7
Deuteranopia (green-blind)
#3A66B1
Tritanopia (blue-blind)
#895875
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8d43b4; /* rgb */ color: rgb(141, 67, 180); /* oklch */ color: oklch(52.8% 0.179 312.0);
Tailwind
colors: {
custom: {
50: '#b27ccb',
500: '#8d43b4',
950: '#000000',
},
}SCSS
$custom: #8d43b4; $custom-light: #b27ccb; $custom-dark: #000000;
JSON
{
"hex": "#8d43b4",
"rgb": {
"r": 141,
"g": 67,
"b": 180
},
"hsl": {
"h": 279.292,
"s": 45.749,
"l": 48.431
},
"oklch": {
"l": 0.5279,
"c": 0.17892,
"h": 312
},
"luminance": 0.12972
}Semantic roles & 50–950 ramp
primary
#8D43B4
secondary
#A1C58E
accent
#D55280
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82