#8A36BE#8A36BE
#8A36BE is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.205 H 309.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8A36BE |
|---|---|
| RGB | rgb(138, 54, 190) |
| HSL | hsl(277, 56%, 48%) |
| HSV | hsv(277, 72%, 75%) |
| CMYK | cmyk(27.4%, 71.6%, 0%, 25.5%) |
| CIE-LAB | lab(40.83, 57.75, -56.17) |
| CIE-LCH | lch(40.83, 80.57, 315.79°) |
| OKLab | oklab(51.56% 0.1295 -0.1592) |
| OKLCH | oklch(51.56% 0.205 309.1) |
| XYZ | xyz(21.0928, 11.7597, 49.8639) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.00
Purply
#983FB2
ΔE00 4.51
Darkviolet
#9400D3
ΔE00 4.71
Blueviolet
#8A2BE2
ΔE00 5.02
Violet (survey)
#9A0EEA
ΔE00 6.15
Barney
#AC1DB8
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A36BE #6ABE36
analogous
#4636BE #8A36BE #BE36AE
triadic
#8A36BE #BE8A36 #36BE8A
tetradic
#8A36BE #BE4636 #6ABE36 #36AEBE
square
#8A36BE #BE4636 #6ABE36 #36AEBE
split-complementary
#8A36BE #AEBE36 #36BE46
monochromatic
#451B5F #67288E #8A36BE #A660D2 #C18FDF
Accessibility & contrast
On white
6.27
#8A36BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#8A36BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A36BE
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A36BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A36BE | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#1561BB
Tritanopia (blue-blind)
#825577
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a36be; /* rgb */ color: rgb(138, 54, 190); /* oklch */ color: oklch(51.6% 0.205 309.1);
Tailwind
colors: {
custom: {
50: '#b174d2',
500: '#8a36be',
950: '#000000',
},
}SCSS
$custom: #8a36be; $custom-light: #b174d2; $custom-dark: #000000;
JSON
{
"hex": "#8a36be",
"rgb": {
"r": 138,
"g": 54,
"b": 190
},
"hsl": {
"h": 277.059,
"s": 55.738,
"l": 47.843
},
"oklch": {
"l": 0.51557,
"c": 0.20521,
"h": 309.1
},
"luminance": 0.11759
}Semantic roles & 50–950 ramp
primary
#8A36BE
secondary
#A0CA86
accent
#DF4982
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83