#A57FF2#A57FF2
#A57FF2 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.2% C 0.167 H 297.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A57FF2 |
|---|---|
| RGB | rgb(165, 127, 242) |
| HSL | hsl(260, 82%, 72%) |
| HSV | hsv(260, 48%, 95%) |
| CMYK | cmyk(31.8%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(61.30, 38.78, -52.77) |
| CIE-LCH | lch(61.30, 65.48, 306.31°) |
| OKLab | oklab(68.22% 0.0757 -0.1486) |
| OKLCH | oklch(68.22% 0.167 297) |
| XYZ | xyz(39.1295, 29.5884, 87.6368) |
| Luminance | 0.2959 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.87
Light Purple
#BF77F6
ΔE00 5.38
Periwinkle (survey)
#8E82FE
ΔE00 5.45
Mediumpurple
#9370DB
ΔE00 5.78
Easter Purple
#C071FE
ΔE00 5.99
Liliac
#C48EFD
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A57FF2 #CCF27F
analogous
#7F93F2 #A57FF2 #DE7FF2
triadic
#A57FF2 #F2A57F #7FF2A5
tetradic
#A57FF2 #F27F93 #CCF27F #7FF2DE
square
#A57FF2 #F27F93 #CCF27F #7FF2DE
split-complementary
#A57FF2 #F2DE7F #93F27F
monochromatic
#5917E0 #7E47EC #A57FF2 #CCB7F8 #EBE3FC
Accessibility & contrast
On white
3.04
#A57FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#A57FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A57FF2
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A57FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A57FF2 | 1.00 | 3.04 | 6.92 | 6.92 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5994F6
Deuteranopia (green-blind)
#6193EF
Tritanopia (blue-blind)
#9495AD
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a57ff2; /* rgb */ color: rgb(165, 127, 242); /* oklch */ color: oklch(68.2% 0.167 297.0);
Tailwind
colors: {
custom: {
50: '#c3a5f7',
500: '#a57ff2',
950: '#000000',
},
}SCSS
$custom: #a57ff2; $custom-light: #c3a5f7; $custom-dark: #000000;
JSON
{
"hex": "#a57ff2",
"rgb": {
"r": 165,
"g": 127,
"b": 242
},
"hsl": {
"h": 259.826,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.68218,
"c": 0.16676,
"h": 297
},
"luminance": 0.29589
}Semantic roles & 50–950 ramp
primary
#A57FF2
secondary
#EAF4D7
accent
#DE0897
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85