#A652F1#A652F1
#A652F1 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.7% C 0.230 H 304.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A652F1 |
|---|---|
| RGB | rgb(166, 82, 241) |
| HSL | hsl(272, 85%, 63%) |
| HSV | hsv(272, 66%, 95%) |
| CMYK | cmyk(31.1%, 66%, 0%, 5.5%) |
| CIE-LAB | lab(52.39, 62.29, -66.48) |
| CIE-LCH | lch(52.39, 91.10, 313.13°) |
| OKLab | oklab(61.69% 0.1309 -0.1887) |
| OKLCH | oklch(61.69% 0.23 304.8) |
| XYZ | xyz(34.6168, 20.4926, 85.3338) |
| Luminance | 0.2049 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.55
Lighter Purple
#A55AF4
ΔE00 1.79
Purpley
#8756E4
ΔE00 5.56
Electric Purple
#AA23FF
ΔE00 6.16
Neon Purple
#BC13FE
ΔE00 6.29
Mediumorchid
#BA55D3
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A652F1 #9DF152
analogous
#5652F1 #A652F1 #F152ED
triadic
#A652F1 #F1A652 #52F1A6
tetradic
#A652F1 #F15652 #9DF152 #52EDF1
square
#A652F1 #F15652 #9DF152 #52EDF1
split-complementary
#A652F1 #EDF152 #52F156
monochromatic
#690FBA #8919EC #A652F1 #C38BF6 #E0C3FA
Accessibility & contrast
On white
4.12
#A652F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#A652F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A652F1
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A652F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A652F1 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#1D7DEE
Tritanopia (blue-blind)
#98759B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a652f1; /* rgb */ color: rgb(166, 82, 241); /* oklch */ color: oklch(61.7% 0.230 304.8);
Tailwind
colors: {
custom: {
50: '#c588f7',
500: '#a652f1',
950: '#000000',
},
}SCSS
$custom: #a652f1; $custom-light: #c588f7; $custom-dark: #000000;
JSON
{
"hex": "#a652f1",
"rgb": {
"r": 166,
"g": 82,
"b": 241
},
"hsl": {
"h": 271.698,
"s": 85.027,
"l": 63.333
},
"oklch": {
"l": 0.61686,
"c": 0.22964,
"h": 304.8
},
"luminance": 0.20492
}Semantic roles & 50–950 ramp
primary
#A652F1
secondary
#CEECB3
accent
#E2046C
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C17
muted
#827D85