#8452E2#8452E2
#8452E2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.208 H 294.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8452E2 |
|---|---|
| RGB | rgb(132, 82, 226) |
| HSL | hsl(261, 71%, 60%) |
| HSV | hsv(261, 64%, 89%) |
| CMYK | cmyk(41.6%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(47.53, 51.79, -66.08) |
| CIE-LCH | lch(47.53, 83.95, 308.08°) |
| OKLab | oklab(57.01% 0.0876 -0.1886) |
| OKLCH | oklch(57.01% 0.208 294.9) |
| XYZ | xyz(26.2568, 16.4305, 73.7248) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.25
Light Indigo
#6D5ACF
ΔE00 5.16
Slate Blue
#6A5ACD
ΔE00 5.75
Lightish Purple
#A552E6
ΔE00 6.06
Bluish Purple
#703BE7
ΔE00 6.24
Mediumslateblue
#7B68EE
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8452E2 #B0E252
analogous
#5268E2 #8452E2 #CC52E2
triadic
#8452E2 #E28452 #52E284
tetradic
#8452E2 #E25268 #B0E252 #52E2CC
square
#8452E2 #E25268 #B0E252 #52E2CC
split-complementary
#8452E2 #E2CC52 #68E252
monochromatic
#491B9F #6123D3 #8452E2 #A986EB #CFBBF4
Accessibility & contrast
On white
4.90
#8452E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#8452E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8452E2
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8452E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8452E2 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#6B7393
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8452e2; /* rgb */ color: rgb(132, 82, 226); /* oklch */ color: oklch(57.0% 0.208 294.9);
Tailwind
colors: {
custom: {
50: '#ae85ec',
500: '#8452e2',
950: '#000000',
},
}SCSS
$custom: #8452e2; $custom-light: #ae85ec; $custom-dark: #000000;
JSON
{
"hex": "#8452e2",
"rgb": {
"r": 132,
"g": 82,
"b": 226
},
"hsl": {
"h": 260.833,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.57008,
"c": 0.20796,
"h": 294.9
},
"luminance": 0.16431
}Semantic roles & 50–950 ramp
primary
#8452E2
secondary
#D0E3AC
accent
#D31290
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84