#8052C8#8052C8
#8052C8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.177 H 298.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8052C8 |
|---|---|
| RGB | rgb(128, 82, 200) |
| HSL | hsl(263, 52%, 55%) |
| HSV | hsv(263, 59%, 78%) |
| CMYK | cmyk(36%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(45.35, 44.14, -54.76) |
| CIE-LCH | lch(45.35, 70.33, 308.87°) |
| OKLab | oklab(54.76% 0.0838 -0.1554) |
| OKLCH | oklch(54.76% 0.177 298.3) |
| XYZ | xyz(22.3421, 14.7936, 56.3107) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.48
Light Indigo
#6D5ACF
ΔE00 4.71
Slate Blue
#6A5ACD
ΔE00 5.14
Royal Purple
#7851A9
ΔE00 5.24
Deep Lavender
#8D5EB7
ΔE00 5.88
Iris
#6258C4
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8052C8 #9AC852
analogous
#525FC8 #8052C8 #BB52C8
triadic
#8052C8 #C88052 #52C880
tetradic
#8052C8 #C8525F #9AC852 #52C8BB
square
#8052C8 #C8525F #9AC852 #52C8BB
split-complementary
#8052C8 #C8BB52 #5FC852
monochromatic
#472779 #6235A8 #8052C8 #A280D7 #C4AFE6
Accessibility & contrast
On white
5.30
#8052C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8052C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8052C8
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8052C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8052C8 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B6BCC
Deuteranopia (green-blind)
#276AC5
Tritanopia (blue-blind)
#706B85
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8052c8; /* rgb */ color: rgb(128, 82, 200); /* oklch */ color: oklch(54.8% 0.177 298.3);
Tailwind
colors: {
custom: {
50: '#a984d9',
500: '#8052c8',
950: '#000000',
},
}SCSS
$custom: #8052c8; $custom-light: #a984d9; $custom-dark: #000000;
JSON
{
"hex": "#8052c8",
"rgb": {
"r": 128,
"g": 82,
"b": 200
},
"hsl": {
"h": 263.39,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.54763,
"c": 0.17662,
"h": 298.3
},
"luminance": 0.14794
}Semantic roles & 50–950 ramp
primary
#8052C8
secondary
#C0D4A2
accent
#DB4DA4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83