#8D27B5#8D27B5
#8D27B5 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.214 H 314.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8D27B5 |
|---|---|
| RGB | rgb(141, 39, 181) |
| HSL | hsl(283, 65%, 43%) |
| HSV | hsv(283, 78%, 71%) |
| CMYK | cmyk(22.1%, 78.5%, 0%, 29%) |
| CIE-LAB | lab(38.64, 62.12, -54.40) |
| CIE-LCH | lch(38.64, 82.58, 318.79°) |
| OKLab | oklab(49.9% 0.1487 -0.1538) |
| OKLCH | oklch(49.9% 0.214 314) |
| XYZ | xyz(20.0491, 10.4506, 44.6682) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.34
Darkorchid
#9932CC
ΔE00 4.54
Purple (survey)
#7E1E9C
ΔE00 4.73
Purply
#983FB2
ΔE00 5.20
Barney
#AC1DB8
ΔE00 5.67
Blueviolet
#8A2BE2
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D27B5 #4FB527
analogous
#4627B5 #8D27B5 #B52796
triadic
#8D27B5 #B58D27 #27B58D
tetradic
#8D27B5 #B54627 #4FB527 #2796B5
square
#8D27B5 #B54627 #4FB527 #2796B5
split-complementary
#8D27B5 #96B527 #27B546
monochromatic
#3F1150 #661C83 #8D27B5 #AD43D6 #C375E1
Accessibility & contrast
On white
6.80
#8D27B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#8D27B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D27B5
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D27B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D27B5 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#195DB2
Tritanopia (blue-blind)
#89496E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8d27b5; /* rgb */ color: rgb(141, 39, 181); /* oklch */ color: oklch(49.9% 0.214 314.0);
Tailwind
colors: {
custom: {
50: '#b36dcc',
500: '#8d27b5',
950: '#000000',
},
}SCSS
$custom: #8d27b5; $custom-light: #b36dcc; $custom-dark: #000000;
JSON
{
"hex": "#8d27b5",
"rgb": {
"r": 141,
"g": 39,
"b": 181
},
"hsl": {
"h": 283.099,
"s": 64.545,
"l": 43.137
},
"oklch": {
"l": 0.49895,
"c": 0.21389,
"h": 314
},
"luminance": 0.1045
}Semantic roles & 50–950 ramp
primary
#8D27B5
secondary
#88C96F
accent
#E8406F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82