#8052C2#8052C2
#8052C2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.4% C 0.169 H 299.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8052C2 |
|---|---|
| RGB | rgb(128, 82, 194) |
| HSL | hsl(265, 48%, 54%) |
| HSV | hsv(265, 58%, 76%) |
| CMYK | cmyk(34%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(44.97, 42.59, -51.90) |
| CIE-LCH | lch(44.97, 67.14, 309.37°) |
| OKLab | oklab(54.36% 0.0839 -0.1471) |
| OKLCH | oklch(54.36% 0.169 299.7) |
| XYZ | xyz(21.6546, 14.5186, 52.6900) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.32
Light Indigo
#6D5ACF
ΔE00 5.22
Deep Lavender
#8D5EB7
ΔE00 5.33
Purpley
#8756E4
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 5.59
Iris
#6258C4
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8052C2 #94C252
analogous
#525CC2 #8052C2 #B852C2
triadic
#8052C2 #C28052 #52C280
tetradic
#8052C2 #C2525C #94C252 #52C2B8
square
#8052C2 #C2525C #94C252 #52C2B8
split-complementary
#8052C2 #C2B852 #5CC252
monochromatic
#462872 #62389F #8052C2 #A17FD2 #C2ACE2
Accessibility & contrast
On white
5.38
#8052C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#8052C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8052C2
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8052C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8052C2 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B6AC6
Deuteranopia (green-blind)
#2F6ABF
Tritanopia (blue-blind)
#726982
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8052c2; /* rgb */ color: rgb(128, 82, 194); /* oklch */ color: oklch(54.4% 0.169 299.7);
Tailwind
colors: {
custom: {
50: '#a984d5',
500: '#8052c2',
950: '#000000',
},
}SCSS
$custom: #8052c2; $custom-light: #a984d5; $custom-dark: #000000;
JSON
{
"hex": "#8052c2",
"rgb": {
"r": 128,
"g": 82,
"b": 194
},
"hsl": {
"h": 264.643,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.54361,
"c": 0.16931,
"h": 299.7
},
"luminance": 0.14519
}Semantic roles & 50–950 ramp
primary
#8052C2
secondary
#BCD0A0
accent
#D750A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83