#8D36C4#8D36C4
#8D36C4 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.212 H 308.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8D36C4 |
|---|---|
| RGB | rgb(141, 54, 196) |
| HSL | hsl(277, 57%, 49%) |
| HSV | hsv(277, 72%, 77%) |
| CMYK | cmyk(28.1%, 72.4%, 0%, 23.1%) |
| CIE-LAB | lab(41.67, 59.65, -58.30) |
| CIE-LCH | lch(41.67, 83.41, 315.65°) |
| OKLab | oklab(52.37% 0.1326 -0.1653) |
| OKLCH | oklch(52.37% 0.212 308.7) |
| XYZ | xyz(22.2654, 12.2870, 53.4125) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.18
Blueviolet
#8A2BE2
ΔE00 4.31
Darkviolet
#9400D3
ΔE00 4.42
Purply
#983FB2
ΔE00 4.64
Violet (survey)
#9A0EEA
ΔE00 5.36
Vibrant Purple
#AD03DE
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D36C4 #6DC436
analogous
#4636C4 #8D36C4 #C436B4
triadic
#8D36C4 #C48D36 #36C48D
tetradic
#8D36C4 #C44636 #6DC436 #36B4C4
square
#8D36C4 #C44636 #6DC436 #36B4C4
split-complementary
#8D36C4 #B4C436 #36C446
monochromatic
#481C64 #6A2994 #8D36C4 #A863D4 #C393E1
Accessibility & contrast
On white
6.07
#8D36C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#8D36C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D36C4
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D36C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D36C4 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0C63C1
Tritanopia (blue-blind)
#85577A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8d36c4; /* rgb */ color: rgb(141, 54, 196); /* oklch */ color: oklch(52.4% 0.212 308.7);
Tailwind
colors: {
custom: {
50: '#b375d7',
500: '#8d36c4',
950: '#000000',
},
}SCSS
$custom: #8d36c4; $custom-light: #b375d7; $custom-dark: #000000;
JSON
{
"hex": "#8d36c4",
"rgb": {
"r": 141,
"g": 54,
"b": 196
},
"hsl": {
"h": 276.761,
"s": 56.8,
"l": 49.02
},
"oklch": {
"l": 0.52372,
"c": 0.21192,
"h": 308.7
},
"luminance": 0.12287
}Semantic roles & 50–950 ramp
primary
#8D36C4
secondary
#A3CC89
accent
#E04883
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83