#8036C2#8036C2
#8036C2 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.207 H 303.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8036C2 |
|---|---|
| RGB | rgb(128, 54, 194) |
| HSL | hsl(272, 56%, 49%) |
| HSV | hsv(272, 72%, 76%) |
| CMYK | cmyk(34%, 72.2%, 0%, 23.9%) |
| CIE-LAB | lab(39.79, 56.72, -60.27) |
| CIE-LCH | lch(39.79, 82.77, 313.26°) |
| OKLab | oklab(50.62% 0.1153 -0.1715) |
| OKLCH | oklch(50.62% 0.207 303.9) |
| XYZ | xyz(19.9566, 11.1226, 52.1240) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.37
Darkorchid
#9932CC
ΔE00 4.44
Darkviolet
#9400D3
ΔE00 4.85
Bluey Purple
#6241C7
ΔE00 5.72
Bluish Purple
#703BE7
ΔE00 5.99
Burple
#6832E3
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8036C2 #78C236
analogous
#3A36C2 #8036C2 #C236BE
triadic
#8036C2 #C28036 #36C280
tetradic
#8036C2 #C23A36 #78C236 #36BEC2
square
#8036C2 #C23A36 #78C236 #36BEC2
split-complementary
#8036C2 #BEC236 #36C23A
monochromatic
#411B62 #602992 #8036C2 #9E62D3 #BB92E1
Accessibility & contrast
On white
6.51
#8036C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#8036C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8036C2
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8036C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8036C2 | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#735879
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8036c2; /* rgb */ color: rgb(128, 54, 194); /* oklch */ color: oklch(50.6% 0.207 303.9);
Tailwind
colors: {
custom: {
50: '#aa74d5',
500: '#8036c2',
950: '#000000',
},
}SCSS
$custom: #8036c2; $custom-light: #aa74d5; $custom-dark: #000000;
JSON
{
"hex": "#8036c2",
"rgb": {
"r": 128,
"g": 54,
"b": 194
},
"hsl": {
"h": 271.714,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.50622,
"c": 0.20671,
"h": 303.9
},
"luminance": 0.11123
}Semantic roles & 50–950 ramp
primary
#8036C2
secondary
#A8CC88
accent
#E04890
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83