#8F36CB#8F36CB
#8F36CB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.219 H 307.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8F36CB |
|---|---|
| RGB | rgb(143, 54, 203) |
| HSL | hsl(276, 59%, 50%) |
| HSV | hsv(276, 73%, 80%) |
| CMYK | cmyk(29.6%, 73.4%, 0%, 20.4%) |
| CIE-LAB | lab(42.45, 61.56, -61.10) |
| CIE-LCH | lch(42.45, 86.74, 315.22°) |
| OKLab | oklab(53.14% 0.1341 -0.1735) |
| OKLCH | oklch(53.14% 0.219 307.7) |
| XYZ | xyz(23.4241, 12.7901, 57.7231) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.73
Blueviolet
#8A2BE2
ΔE00 3.53
Darkviolet
#9400D3
ΔE00 4.32
Violet (survey)
#9A0EEA
ΔE00 4.57
Vibrant Purple
#AD03DE
ΔE00 5.16
Purply
#983FB2
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F36CB #72CB36
analogous
#4436CB #8F36CB #CB36BC
triadic
#8F36CB #CB8F36 #36CB8F
tetradic
#8F36CB #CB4436 #72CB36 #36BCCB
square
#8F36CB #CB4436 #72CB36 #36BCCB
split-complementary
#8F36CB #BCCB36 #36CB44
monochromatic
#4B1C6B #6D289C #8F36CB #AA67D8 #C597E4
Accessibility & contrast
On white
5.90
#8F36CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#8F36CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F36CB
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F36CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F36CB | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#85597E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8f36cb; /* rgb */ color: rgb(143, 54, 203); /* oklch */ color: oklch(53.1% 0.219 307.7);
Tailwind
colors: {
custom: {
50: '#b575dc',
500: '#8f36cb',
950: '#000000',
},
}SCSS
$custom: #8f36cb; $custom-light: #b575dc; $custom-dark: #000000;
JSON
{
"hex": "#8f36cb",
"rgb": {
"r": 143,
"g": 54,
"b": 203
},
"hsl": {
"h": 275.839,
"s": 58.893,
"l": 50.392
},
"oklch": {
"l": 0.53138,
"c": 0.21923,
"h": 307.7
},
"luminance": 0.1279
}Semantic roles & 50–950 ramp
primary
#8F36CB
secondary
#A8D08D
accent
#E24685
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83