#8D36C3#8D36C3
#8D36C3 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.211 H 309.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8D36C3 |
|---|---|
| RGB | rgb(141, 54, 195) |
| HSL | hsl(277, 57%, 49%) |
| HSV | hsv(277, 72%, 76%) |
| CMYK | cmyk(27.7%, 72.3%, 0%, 23.5%) |
| CIE-LAB | lab(41.60, 59.44, -57.84) |
| CIE-LCH | lch(41.60, 82.93, 315.78°) |
| OKLab | oklab(52.3% 0.1327 -0.164) |
| OKLCH | oklch(52.3% 0.211 309) |
| XYZ | xyz(22.1520, 12.2416, 52.8151) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.23
Blueviolet
#8A2BE2
ΔE00 4.45
Darkviolet
#9400D3
ΔE00 4.47
Purply
#983FB2
ΔE00 4.53
Violet (survey)
#9A0EEA
ΔE00 5.48
Vibrant Purple
#AD03DE
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D36C3 #6CC336
analogous
#4636C3 #8D36C3 #C336B3
triadic
#8D36C3 #C38D36 #36C38D
tetradic
#8D36C3 #C34636 #6CC336 #36B3C3
square
#8D36C3 #C34636 #6CC336 #36B3C3
split-complementary
#8D36C3 #B3C336 #36C346
monochromatic
#481B63 #6A2993 #8D36C3 #A863D4 #C392E1
Accessibility & contrast
On white
6.09
#8D36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#8D36C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D36C3
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D36C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D36C3 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#1063C0
Tritanopia (blue-blind)
#855679
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8d36c3; /* rgb */ color: rgb(141, 54, 195); /* oklch */ color: oklch(52.3% 0.211 309.0);
Tailwind
colors: {
custom: {
50: '#b375d6',
500: '#8d36c3',
950: '#000000',
},
}SCSS
$custom: #8d36c3; $custom-light: #b375d6; $custom-dark: #000000;
JSON
{
"hex": "#8d36c3",
"rgb": {
"r": 141,
"g": 54,
"b": 195
},
"hsl": {
"h": 277.021,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.52299,
"c": 0.21095,
"h": 309
},
"luminance": 0.12241
}Semantic roles & 50–950 ramp
primary
#8D36C3
secondary
#A3CC89
accent
#E04882
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83