#8D36B7#8D36B7
#8D36B7 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.199 H 312.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8D36B7 |
|---|---|
| RGB | rgb(141, 54, 183) |
| HSL | hsl(280, 54%, 46%) |
| HSV | hsv(280, 70%, 72%) |
| CMYK | cmyk(23%, 70.5%, 0%, 28.2%) |
| CIE-LAB | lab(40.77, 56.86, -52.14) |
| CIE-LCH | lch(40.77, 77.15, 317.47°) |
| OKLab | oklab(51.45% 0.1344 -0.1472) |
| OKLCH | oklch(51.45% 0.199 312.4) |
| XYZ | xyz(20.8494, 11.7205, 45.9546) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.40
Purply
#983FB2
ΔE00 3.45
Darkviolet
#9400D3
ΔE00 5.37
Barney
#AC1DB8
ΔE00 5.60
Blueviolet
#8A2BE2
ΔE00 6.26
Purple (survey)
#7E1E9C
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D36B7 #60B736
analogous
#4D36B7 #8D36B7 #B736A1
triadic
#8D36B7 #B78D36 #36B78D
tetradic
#8D36B7 #B74D36 #60B736 #36A1B7
square
#8D36B7 #B74D36 #60B736 #36A1B7
split-complementary
#8D36B7 #A1B736 #36B74D
monochromatic
#441A58 #692888 #8D36B7 #A95BCF #C28BDD
Accessibility & contrast
On white
6.28
#8D36B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#8D36B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D36B7
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D36B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D36B7 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#2862B4
Tritanopia (blue-blind)
#885273
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8d36b7; /* rgb */ color: rgb(141, 54, 183); /* oklch */ color: oklch(51.4% 0.199 312.4);
Tailwind
colors: {
custom: {
50: '#b274cd',
500: '#8d36b7',
950: '#000000',
},
}SCSS
$custom: #8d36b7; $custom-light: #b274cd; $custom-dark: #000000;
JSON
{
"hex": "#8d36b7",
"rgb": {
"r": 141,
"g": 54,
"b": 183
},
"hsl": {
"h": 280.465,
"s": 54.43,
"l": 46.471
},
"oklch": {
"l": 0.51447,
"c": 0.19932,
"h": 312.4
},
"luminance": 0.1172
}Semantic roles & 50–950 ramp
primary
#8D36B7
secondary
#98C782
accent
#DE4A7A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82