#8052E2#8052E2
#8052E2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.6% C 0.208 H 293.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8052E2 |
|---|---|
| RGB | rgb(128, 82, 226) |
| HSL | hsl(259, 71%, 60%) |
| HSV | hsv(259, 64%, 89%) |
| CMYK | cmyk(43.4%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(47.12, 51.00, -66.77) |
| CIE-LCH | lch(47.12, 84.01, 307.37°) |
| OKLab | oklab(56.62% 0.0823 -0.1907) |
| OKLCH | oklch(56.62% 0.208 293.3) |
| XYZ | xyz(25.6431, 16.1140, 73.6960) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.72
Light Indigo
#6D5ACF
ΔE00 4.64
Slate Blue
#6A5ACD
ΔE00 5.21
Bluish Purple
#703BE7
ΔE00 5.84
Dark Periwinkle
#665FD1
ΔE00 6.34
Purpleish Blue
#6140EF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8052E2 #B4E252
analogous
#526CE2 #8052E2 #C852E2
triadic
#8052E2 #E28052 #52E280
tetradic
#8052E2 #E2526C #B4E252 #52E2C8
square
#8052E2 #E2526C #B4E252 #52E2C8
split-complementary
#8052E2 #E2C852 #6CE252
monochromatic
#451B9F #5C23D3 #8052E2 #A686EB #CDBBF4
Accessibility & contrast
On white
4.97
#8052E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#8052E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8052E2
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8052E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8052E2 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#647493
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8052e2; /* rgb */ color: rgb(128, 82, 226); /* oklch */ color: oklch(56.6% 0.208 293.3);
Tailwind
colors: {
custom: {
50: '#ac85ec',
500: '#8052e2',
950: '#000000',
},
}SCSS
$custom: #8052e2; $custom-light: #ac85ec; $custom-dark: #000000;
JSON
{
"hex": "#8052e2",
"rgb": {
"r": 128,
"g": 82,
"b": 226
},
"hsl": {
"h": 259.167,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.56616,
"c": 0.20773,
"h": 293.3
},
"luminance": 0.16115
}Semantic roles & 50–950 ramp
primary
#8052E2
secondary
#D2E3AC
accent
#D31296
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84