#A252CE#A252CE
#A252CE is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.9% C 0.192 H 311.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A252CE |
|---|---|
| RGB | rgb(162, 82, 206) |
| HSL | hsl(279, 56%, 56%) |
| HSV | hsv(279, 60%, 81%) |
| CMYK | cmyk(21.4%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(49.71, 53.61, -51.01) |
| CIE-LCH | lch(49.71, 74.00, 316.43°) |
| OKLab | oklab(58.94% 0.1277 -0.1434) |
| OKLCH | oklch(58.94% 0.192 311.7) |
| XYZ | xyz(29.0561, 18.1729, 60.3576) |
| Luminance | 0.1817 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.65
Amethyst
#9B5FC0
ΔE00 3.88
Mediumorchid
#BA55D3
ΔE00 4.94
Deep Lavender
#8D5EB7
ΔE00 5.64
Lighter Purple
#A55AF4
ΔE00 6.21
Purply
#983FB2
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A252CE #7ECE52
analogous
#6452CE #A252CE #CE52BC
triadic
#A252CE #CEA252 #52CEA2
tetradic
#A252CE #CE6452 #7ECE52 #52BCCE
square
#A252CE #CE6452 #7ECE52 #52BCCE
split-complementary
#A252CE #BCCE52 #52CE64
monochromatic
#602581 #8432B1 #A252CE #BC82DC #D5B1E9
Accessibility & contrast
On white
4.53
#A252CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#A252CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A252CE
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A252CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A252CE | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2472D2
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#9D6988
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a252ce; /* rgb */ color: rgb(162, 82, 206); /* oklch */ color: oklch(58.9% 0.192 311.7);
Tailwind
colors: {
custom: {
50: '#c187dd',
500: '#a252ce',
950: '#000000',
},
}SCSS
$custom: #a252ce; $custom-light: #c187dd; $custom-dark: #000000;
JSON
{
"hex": "#a252ce",
"rgb": {
"r": 162,
"g": 82,
"b": 206
},
"hsl": {
"h": 278.71,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.5894,
"c": 0.19202,
"h": 311.7
},
"luminance": 0.18172
}Semantic roles & 50–950 ramp
primary
#A252CE
secondary
#B7D7A4
accent
#DF497E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83