#A852F3#A852F3
#A852F3 is a light, highly saturated violet. Relative luminance 0.208; OKLCH L 62.0% C 0.232 H 305.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A852F3 |
|---|---|
| RGB | rgb(168, 82, 243) |
| HSL | hsl(272, 87%, 64%) |
| HSV | hsv(272, 66%, 95%) |
| CMYK | cmyk(30.9%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(52.76, 63.14, -66.98) |
| CIE-LCH | lch(52.76, 92.05, 313.31°) |
| OKLab | oklab(62.05% 0.1333 -0.1901) |
| OKLCH | oklch(62.05% 0.232 305) |
| XYZ | xyz(35.3398, 20.8307, 86.9356) |
| Luminance | 0.2083 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.65
Lightish Purple
#A552E6
ΔE00 1.85
Purpley
#8756E4
ΔE00 5.94
Neon Purple
#BC13FE
ΔE00 6.26
Electric Purple
#AA23FF
ΔE00 6.28
Mediumorchid
#BA55D3
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A852F3 #9DF352
analogous
#5752F3 #A852F3 #F352ED
triadic
#A852F3 #F3A852 #52F3A8
tetradic
#A852F3 #F35752 #9DF352 #52EDF3
square
#A852F3 #F35752 #9DF352 #52EDF3
split-complementary
#A852F3 #EDF352 #52F357
monochromatic
#6B0DBD #8B19EF #A852F3 #C58BF7 #E2C4FB
Accessibility & contrast
On white
4.07
#A852F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#A852F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A852F3
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A852F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A852F3 | 1.00 | 4.07 | 5.17 | 5.17 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#1D7EF0
Tritanopia (blue-blind)
#9A769C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a852f3; /* rgb */ color: rgb(168, 82, 243); /* oklch */ color: oklch(62.0% 0.232 305.0);
Tailwind
colors: {
custom: {
50: '#c788f8',
500: '#a852f3',
950: '#000000',
},
}SCSS
$custom: #a852f3; $custom-light: #c788f8; $custom-dark: #000000;
JSON
{
"hex": "#a852f3",
"rgb": {
"r": 168,
"g": 82,
"b": 243
},
"hsl": {
"h": 272.05,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.62049,
"c": 0.23215,
"h": 305
},
"luminance": 0.2083
}Semantic roles & 50–950 ramp
primary
#A852F3
secondary
#CEEDB4
accent
#E4026B
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85