#8A36C1#8A36C1
#8A36C1 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.208 H 308.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8A36C1 |
|---|---|
| RGB | rgb(138, 54, 193) |
| HSL | hsl(276, 56%, 48%) |
| HSV | hsv(276, 72%, 76%) |
| CMYK | cmyk(28.5%, 72%, 0%, 24.3%) |
| CIE-LAB | lab(41.04, 58.41, -57.59) |
| CIE-LCH | lch(41.04, 82.02, 315.41°) |
| OKLab | oklab(51.78% 0.1291 -0.1633) |
| OKLCH | oklch(51.78% 0.208 308.3) |
| XYZ | xyz(21.4241, 11.8922, 51.6085) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.81
Darkviolet
#9400D3
ΔE00 4.52
Blueviolet
#8A2BE2
ΔE00 4.58
Purply
#983FB2
ΔE00 4.79
Violet (survey)
#9A0EEA
ΔE00 5.78
Vibrant Purple
#AD03DE
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A36C1 #6DC136
analogous
#4436C1 #8A36C1 #C136B2
triadic
#8A36C1 #C18A36 #36C18A
tetradic
#8A36C1 #C14436 #6DC136 #36B2C1
square
#8A36C1 #C14436 #6DC136 #36B2C1
split-complementary
#8A36C1 #B2C136 #36C144
monochromatic
#461B61 #682991 #8A36C1 #A661D3 #C191E0
Accessibility & contrast
On white
6.22
#8A36C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#8A36C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A36C1
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A36C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A36C1 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#0C62BE
Tritanopia (blue-blind)
#815678
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a36c1; /* rgb */ color: rgb(138, 54, 193); /* oklch */ color: oklch(51.8% 0.208 308.3);
Tailwind
colors: {
custom: {
50: '#b175d5',
500: '#8a36c1',
950: '#000000',
},
}SCSS
$custom: #8a36c1; $custom-light: #b175d5; $custom-dark: #000000;
JSON
{
"hex": "#8a36c1",
"rgb": {
"r": 138,
"g": 54,
"b": 193
},
"hsl": {
"h": 276.259,
"s": 56.275,
"l": 48.431
},
"oklch": {
"l": 0.51775,
"c": 0.20816,
"h": 308.3
},
"luminance": 0.11892
}Semantic roles & 50–950 ramp
primary
#8A36C1
secondary
#A2CB88
accent
#E04884
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83