#8A36C5#8A36C5
#8A36C5 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.212 H 307.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8A36C5 |
|---|---|
| RGB | rgb(138, 54, 197) |
| HSL | hsl(275, 57%, 49%) |
| HSV | hsv(275, 73%, 77%) |
| CMYK | cmyk(29.9%, 72.6%, 0%, 22.7%) |
| CIE-LAB | lab(41.33, 59.30, -59.45) |
| CIE-LCH | lch(41.33, 83.97, 314.93°) |
| OKLab | oklab(52.07% 0.1284 -0.1688) |
| OKLCH | oklch(52.07% 0.212 307.3) |
| XYZ | xyz(21.8763, 12.0731, 53.9904) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.64
Blueviolet
#8A2BE2
ΔE00 4.00
Darkviolet
#9400D3
ΔE00 4.35
Purply
#983FB2
ΔE00 5.18
Violet (survey)
#9A0EEA
ΔE00 5.32
Vibrant Purple
#AD03DE
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A36C5 #71C536
analogous
#4336C5 #8A36C5 #C536B9
triadic
#8A36C5 #C58A36 #36C58A
tetradic
#8A36C5 #C54336 #71C536 #36B9C5
square
#8A36C5 #C54336 #71C536 #36B9C5
split-complementary
#8A36C5 #B9C536 #36C543
monochromatic
#471C65 #682995 #8A36C5 #A664D4 #C294E2
Accessibility & contrast
On white
6.15
#8A36C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#8A36C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A36C5
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A36C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A36C5 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#80587B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a36c5; /* rgb */ color: rgb(138, 54, 197); /* oklch */ color: oklch(52.1% 0.212 307.3);
Tailwind
colors: {
custom: {
50: '#b175d7',
500: '#8a36c5',
950: '#000000',
},
}SCSS
$custom: #8a36c5; $custom-light: #b175d7; $custom-dark: #000000;
JSON
{
"hex": "#8a36c5",
"rgb": {
"r": 138,
"g": 54,
"b": 197
},
"hsl": {
"h": 275.245,
"s": 56.972,
"l": 49.216
},
"oklch": {
"l": 0.5207,
"c": 0.2121,
"h": 307.3
},
"luminance": 0.12073
}Semantic roles & 50–950 ramp
primary
#8A36C5
secondary
#A6CD8A
accent
#E04887
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83