#A57AFC#A57AFC

#A57AFC is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.0% C 0.187 H 296.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A57AFC
RGBrgb(165, 122, 252)
HSLhsl(260, 96%, 73%)
HSVhsv(260, 52%, 99%)
CMYKcmyk(34.5%, 51.6%, 0%, 1.2%)
CIE-LABlab(60.73, 44.08, -59.18)
CIE-LCHlch(60.73, 73.79, 306.68°)
OKLaboklab(67.97% 0.0829 -0.1674)
OKLCHoklch(67.97% 0.187 296.4)
XYZxyz(40.0428, 28.9461, 95.5541)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57AFC #D1FC7A
analogous
#7A90FC #A57AFC #E67AFC
triadic
#A57AFC #FCA57A #7AFCA5
tetradic
#A57AFC #FC7A90 #D1FC7A #7AFCE6
square
#A57AFC #FC7A90 #D1FC7A #7AFCE6
split-complementary
#A57AFC #FCE67A #90FC7A
monochromatic
#5506F6 #7C3EFB #A57AFC #CDB6FD #EBE1FE

Accessibility & contrast

On white

3.09
#A57AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#A57AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57AFC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57AFC#FFFFFF#000000##000000
##A57AFC1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#5291F9
Tritanopia (blue-blind)
#9194B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a57afc;
/* rgb */ color: rgb(165, 122, 252);
/* oklch */ color: oklch(68.0% 0.187 296.4);
Tailwind
colors: {
  custom: {
    50: '#c4a1fe',
    500: '#a57afc',
    950: '#000000',
  },
}
SCSS
$custom: #a57afc;
$custom-light: #c4a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a57afc",
  "rgb": {
    "r": 165,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 259.846,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67973,
    "c": 0.18677,
    "h": 296.4
  },
  "luminance": 0.28947
}

Semantic roles & 50–950 ramp

primary
#A57AFC
secondary
#EBF7D4
accent
#E6009A
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A57AFC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A57AFC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva