#A57BF2#A57BF2
#A57BF2 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.173 H 297.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A57BF2 |
|---|---|
| RGB | rgb(165, 123, 242) |
| HSL | hsl(261, 82%, 72%) |
| HSV | hsv(261, 49%, 95%) |
| CMYK | cmyk(31.8%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(60.41, 41.01, -54.19) |
| CIE-LCH | lch(60.41, 67.96, 307.12°) |
| OKLab | oklab(67.55% 0.0809 -0.1527) |
| OKLCH | oklch(67.55% 0.173 297.9) |
| XYZ | xyz(38.6231, 28.5756, 87.4680) |
| Luminance | 0.2858 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.97
Light Purple
#BF77F6
ΔE00 4.99
Mediumpurple
#9370DB
ΔE00 5.15
Easter Purple
#C071FE
ΔE00 5.39
Periwinkle (survey)
#8E82FE
ΔE00 5.82
Liliac
#C48EFD
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A57BF2 #C8F27B
analogous
#7B8DF2 #A57BF2 #E07BF2
triadic
#A57BF2 #F2A57B #7BF2A5
tetradic
#A57BF2 #F27B8D #C8F27B #7BF2E0
square
#A57BF2 #F27B8D #C8F27B #7BF2E0
split-complementary
#A57BF2 #F2E07B #8DF27B
monochromatic
#5C16DD #7F43ED #A57BF2 #CBB3F7 #ECE3FC
Accessibility & contrast
On white
3.13
#A57BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#A57BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A57BF2
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A57BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A57BF2 | 1.00 | 3.13 | 6.72 | 6.72 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#5C90EF
Tritanopia (blue-blind)
#9592AB
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a57bf2; /* rgb */ color: rgb(165, 123, 242); /* oklch */ color: oklch(67.6% 0.173 297.9);
Tailwind
colors: {
custom: {
50: '#c3a2f7',
500: '#a57bf2',
950: '#000000',
},
}SCSS
$custom: #a57bf2; $custom-light: #c3a2f7; $custom-dark: #000000;
JSON
{
"hex": "#a57bf2",
"rgb": {
"r": 165,
"g": 123,
"b": 242
},
"hsl": {
"h": 261.176,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.67551,
"c": 0.17282,
"h": 297.9
},
"luminance": 0.28576
}Semantic roles & 50–950 ramp
primary
#A57BF2
secondary
#E9F4D5
accent
#DE0792
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85