#8C36CB#8C36CB
#8C36CB is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.8% C 0.218 H 306.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8C36CB |
|---|---|
| RGB | rgb(140, 54, 203) |
| HSL | hsl(275, 59%, 50%) |
| HSV | hsv(275, 73%, 80%) |
| CMYK | cmyk(31%, 73.4%, 0%, 20.4%) |
| CIE-LAB | lab(42.04, 61.01, -61.78) |
| CIE-LCH | lch(42.04, 86.82, 314.64°) |
| OKLab | oklab(52.77% 0.13 -0.1756) |
| OKLCH | oklch(52.77% 0.218 306.5) |
| XYZ | xyz(22.9115, 12.5258, 57.6991) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.27
Blueviolet
#8A2BE2
ΔE00 3.29
Darkviolet
#9400D3
ΔE00 4.25
Violet (survey)
#9A0EEA
ΔE00 4.62
Purply
#983FB2
ΔE00 5.54
Vibrant Purple
#AD03DE
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C36CB #75CB36
analogous
#4236CB #8C36CB #CB36BF
triadic
#8C36CB #CB8C36 #36CB8C
tetradic
#8C36CB #CB4236 #75CB36 #36BFCB
square
#8C36CB #CB4236 #75CB36 #36BFCB
split-complementary
#8C36CB #BFCB36 #36CB42
monochromatic
#491C6B #6B289C #8C36CB #A867D8 #C497E4
Accessibility & contrast
On white
5.99
#8C36CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8C36CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C36CB
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C36CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C36CB | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#815A7E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8c36cb; /* rgb */ color: rgb(140, 54, 203); /* oklch */ color: oklch(52.8% 0.218 306.5);
Tailwind
colors: {
custom: {
50: '#b375dc',
500: '#8c36cb',
950: '#000000',
},
}SCSS
$custom: #8c36cb; $custom-light: #b375dc; $custom-dark: #000000;
JSON
{
"hex": "#8c36cb",
"rgb": {
"r": 140,
"g": 54,
"b": 203
},
"hsl": {
"h": 274.631,
"s": 58.893,
"l": 50.392
},
"oklch": {
"l": 0.52766,
"c": 0.21848,
"h": 306.5
},
"luminance": 0.12526
}Semantic roles & 50–950 ramp
primary
#8C36CB
secondary
#A9D08D
accent
#E24688
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83