#8D36C1#8D36C1
#8D36C1 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.209 H 309.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8D36C1 |
|---|---|
| RGB | rgb(141, 54, 193) |
| HSL | hsl(278, 56%, 48%) |
| HSV | hsv(278, 72%, 76%) |
| CMYK | cmyk(26.9%, 72%, 0%, 24.3%) |
| CIE-LAB | lab(41.46, 59.00, -56.90) |
| CIE-LCH | lch(41.46, 81.97, 316.04°) |
| OKLab | oklab(52.15% 0.1331 -0.1612) |
| OKLCH | oklch(52.15% 0.209 309.5) |
| XYZ | xyz(21.9274, 12.1517, 51.6321) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.36
Purply
#983FB2
ΔE00 4.32
Darkviolet
#9400D3
ΔE00 4.57
Blueviolet
#8A2BE2
ΔE00 4.74
Violet (survey)
#9A0EEA
ΔE00 5.73
Vibrant Purple
#AD03DE
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D36C1 #6AC136
analogous
#4736C1 #8D36C1 #C136AF
triadic
#8D36C1 #C18D36 #36C18D
tetradic
#8D36C1 #C14736 #6AC136 #36AFC1
square
#8D36C1 #C14736 #6AC136 #36AFC1
split-complementary
#8D36C1 #AFC136 #36C147
monochromatic
#471B61 #6A2991 #8D36C1 #A861D3 #C391E0
Accessibility & contrast
On white
6.12
#8D36C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#8D36C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D36C1
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D36C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D36C1 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#1663BE
Tritanopia (blue-blind)
#855678
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8d36c1; /* rgb */ color: rgb(141, 54, 193); /* oklch */ color: oklch(52.2% 0.209 309.5);
Tailwind
colors: {
custom: {
50: '#b375d5',
500: '#8d36c1',
950: '#000000',
},
}SCSS
$custom: #8d36c1; $custom-light: #b375d5; $custom-dark: #000000;
JSON
{
"hex": "#8d36c1",
"rgb": {
"r": 141,
"g": 54,
"b": 193
},
"hsl": {
"h": 277.554,
"s": 56.275,
"l": 48.431
},
"oklch": {
"l": 0.52154,
"c": 0.20901,
"h": 309.5
},
"luminance": 0.12151
}Semantic roles & 50–950 ramp
primary
#8D36C1
secondary
#A1CB88
accent
#E04881
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83