#8B36CC#8B36CC
#8B36CC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.219 H 305.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8B36CC |
|---|---|
| RGB | rgb(139, 54, 204) |
| HSL | hsl(274, 60%, 51%) |
| HSV | hsv(274, 74%, 80%) |
| CMYK | cmyk(31.9%, 73.5%, 0%, 20%) |
| CIE-LAB | lab(41.98, 61.05, -62.46) |
| CIE-LCH | lch(41.98, 87.34, 314.34°) |
| OKLab | oklab(52.72% 0.1285 -0.1776) |
| OKLCH | oklch(52.72% 0.219 305.9) |
| XYZ | xyz(22.8633, 12.4871, 58.3208) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.47
Blueviolet
#8A2BE2
ΔE00 3.11
Darkviolet
#9400D3
ΔE00 4.25
Violet (survey)
#9A0EEA
ΔE00 4.56
Vibrant Purple
#AD03DE
ΔE00 5.67
Purply
#983FB2
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B36CC #77CC36
analogous
#4036CC #8B36CC #CC36C2
triadic
#8B36CC #CC8B36 #36CC8B
tetradic
#8B36CC #CC4036 #77CC36 #36C2CC
square
#8B36CC #CC4036 #77CC36 #36C2CC
split-complementary
#8B36CC #C2CC36 #36CC40
monochromatic
#491B6C #6A289D #8B36CC #A767D8 #C398E5
Accessibility & contrast
On white
6.00
#8B36CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#8B36CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B36CC
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B36CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B36CC | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#7F5A7E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8b36cc; /* rgb */ color: rgb(139, 54, 204); /* oklch */ color: oklch(52.7% 0.219 305.9);
Tailwind
colors: {
custom: {
50: '#b275dc',
500: '#8b36cc',
950: '#000000',
},
}SCSS
$custom: #8b36cc; $custom-light: #b275dc; $custom-dark: #000000;
JSON
{
"hex": "#8b36cc",
"rgb": {
"r": 139,
"g": 54,
"b": 204
},
"hsl": {
"h": 274,
"s": 59.524,
"l": 50.588
},
"oklch": {
"l": 0.52718,
"c": 0.21921,
"h": 305.9
},
"luminance": 0.12487
}Semantic roles & 50–950 ramp
primary
#8B36CC
secondary
#AAD08E
accent
#E34589
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83