#A852E8#A852E8
#A852E8 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.3% C 0.221 H 307.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A852E8 |
|---|---|
| RGB | rgb(168, 82, 232) |
| HSL | hsl(274, 77%, 62%) |
| HSV | hsv(274, 65%, 91%) |
| CMYK | cmyk(27.6%, 64.7%, 0%, 9%) |
| CIE-LAB | lab(52.05, 60.68, -61.97) |
| CIE-LCH | lch(52.05, 86.74, 314.40°) |
| OKLab | oklab(61.31% 0.1343 -0.1754) |
| OKLCH | oklch(61.31% 0.221 307.4) |
| XYZ | xyz(33.7282, 20.1860, 78.4478) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.59
Lighter Purple
#A55AF4
ΔE00 2.64
Mediumorchid
#BA55D3
ΔE00 5.46
Purpley
#8756E4
ΔE00 5.92
Neon Purple
#BC13FE
ΔE00 6.32
Electric Purple
#AA23FF
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A852E8 #92E852
analogous
#5D52E8 #A852E8 #E852DD
triadic
#A852E8 #E8A852 #52E8A8
tetradic
#A852E8 #E85D52 #92E852 #52DDE8
square
#A852E8 #E85D52 #92E852 #52DDE8
split-complementary
#A852E8 #DDE852 #52E85D
monochromatic
#6B16A9 #8D1EDF #A852E8 #C388EF #DEBEF6
Accessibility & contrast
On white
4.17
#A852E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#A852E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A852E8
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A852E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A852E8 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#327DE5
Tritanopia (blue-blind)
#9E7296
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a852e8; /* rgb */ color: rgb(168, 82, 232); /* oklch */ color: oklch(61.3% 0.221 307.4);
Tailwind
colors: {
custom: {
50: '#c688f0',
500: '#a852e8',
950: '#000000',
},
}SCSS
$custom: #a852e8; $custom-light: #c688f0; $custom-dark: #000000;
JSON
{
"hex": "#a852e8",
"rgb": {
"r": 168,
"g": 82,
"b": 232
},
"hsl": {
"h": 274.4,
"s": 76.531,
"l": 61.569
},
"oklch": {
"l": 0.61306,
"c": 0.22087,
"h": 307.4
},
"luminance": 0.20186
}Semantic roles & 50–950 ramp
primary
#A852E8
secondary
#C7E7AF
accent
#D90D64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85