#A57AF2#A57AF2
#A57AF2 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.174 H 298.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A57AF2 |
|---|---|
| RGB | rgb(165, 122, 242) |
| HSL | hsl(262, 82%, 71%) |
| HSV | hsv(262, 50%, 95%) |
| CMYK | cmyk(31.8%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(60.18, 41.57, -54.54) |
| CIE-LCH | lch(60.18, 68.57, 307.31°) |
| OKLab | oklab(67.39% 0.0822 -0.1538) |
| OKLCH | oklch(67.39% 0.174 298.1) |
| XYZ | xyz(38.4997, 28.3288, 87.4268) |
| Luminance | 0.2833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.76
Light Purple
#BF77F6
ΔE00 4.93
Mediumpurple
#9370DB
ΔE00 5.02
Easter Purple
#C071FE
ΔE00 5.27
Periwinkle (survey)
#8E82FE
ΔE00 5.94
Liliac
#C48EFD
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A57AF2 #C7F27A
analogous
#7A8BF2 #A57AF2 #E17AF2
triadic
#A57AF2 #F2A57A #7AF2A5
tetradic
#A57AF2 #F27A8B #C7F27A #7AF2E1
square
#A57AF2 #F27A8B #C7F27A #7AF2E1
split-complementary
#A57AF2 #F2E17A #8BF27A
monochromatic
#5D16DC #7F42ED #A57AF2 #CBB2F7 #ECE3FC
Accessibility & contrast
On white
3.15
#A57AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#A57AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A57AF2
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A57AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A57AF2 | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#9591AB
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a57af2; /* rgb */ color: rgb(165, 122, 242); /* oklch */ color: oklch(67.4% 0.174 298.1);
Tailwind
colors: {
custom: {
50: '#c3a1f7',
500: '#a57af2',
950: '#000000',
},
}SCSS
$custom: #a57af2; $custom-light: #c3a1f7; $custom-dark: #000000;
JSON
{
"hex": "#a57af2",
"rgb": {
"r": 165,
"g": 122,
"b": 242
},
"hsl": {
"h": 261.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.67387,
"c": 0.17433,
"h": 298.1
},
"luminance": 0.28329
}Semantic roles & 50–950 ramp
primary
#A57AF2
secondary
#E8F3D4
accent
#DF0791
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85