#8A36C3#8A36C3
#8A36C3 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.210 H 307.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8A36C3 |
|---|---|
| RGB | rgb(138, 54, 195) |
| HSL | hsl(276, 57%, 49%) |
| HSV | hsv(276, 72%, 76%) |
| CMYK | cmyk(29.2%, 72.3%, 0%, 23.5%) |
| CIE-LAB | lab(41.19, 58.85, -58.52) |
| CIE-LCH | lch(41.19, 83.00, 315.16°) |
| OKLab | oklab(51.92% 0.1288 -0.1661) |
| OKLCH | oklch(51.92% 0.21 307.8) |
| XYZ | xyz(21.6487, 11.9820, 52.7915) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.71
Blueviolet
#8A2BE2
ΔE00 4.29
Darkviolet
#9400D3
ΔE00 4.43
Purply
#983FB2
ΔE00 4.98
Violet (survey)
#9A0EEA
ΔE00 5.54
Vibrant Purple
#AD03DE
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A36C3 #6FC336
analogous
#4436C3 #8A36C3 #C336B6
triadic
#8A36C3 #C38A36 #36C38A
tetradic
#8A36C3 #C34436 #6FC336 #36B6C3
square
#8A36C3 #C34436 #6FC336 #36B6C3
split-complementary
#8A36C3 #B6C336 #36C344
monochromatic
#461B63 #682993 #8A36C3 #A663D4 #C192E1
Accessibility & contrast
On white
6.18
#8A36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#8A36C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A36C3
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A36C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A36C3 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0262C0
Tritanopia (blue-blind)
#815779
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a36c3; /* rgb */ color: rgb(138, 54, 195); /* oklch */ color: oklch(51.9% 0.210 307.8);
Tailwind
colors: {
custom: {
50: '#b175d6',
500: '#8a36c3',
950: '#000000',
},
}SCSS
$custom: #8a36c3; $custom-light: #b175d6; $custom-dark: #000000;
JSON
{
"hex": "#8a36c3",
"rgb": {
"r": 138,
"g": 54,
"b": 195
},
"hsl": {
"h": 275.745,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.51922,
"c": 0.21012,
"h": 307.8
},
"luminance": 0.11982
}Semantic roles & 50–950 ramp
primary
#8A36C3
secondary
#A4CC89
accent
#E04885
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83