#A57AFA#A57AFA

#A57AFA is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.9% C 0.184 H 296.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A57AFA
RGBrgb(165, 122, 250)
HSLhsl(260, 93%, 73%)
HSVhsv(260, 51%, 98%)
CMYKcmyk(34%, 51.2%, 0%, 2%)
CIE-LABlab(60.62, 43.57, -58.26)
CIE-LCHlch(60.62, 72.75, 306.79°)
OKLaboklab(67.85% 0.0828 -0.1646)
OKLCHoklch(67.85% 0.184 296.7)
XYZxyz(39.7276, 28.8200, 93.8937)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57AFA #CFFA7A
analogous
#7A8FFA #A57AFA #E57AFA
triadic
#A57AFA #FAA57A #7AFAA5
tetradic
#A57AFA #FA7A8F #CFFA7A #7AFAE5
square
#A57AFA #FA7A8F #CFFA7A #7AFAE5
split-complementary
#A57AFA #FAE57A #8FFA7A
monochromatic
#5709F1 #7D3FF8 #A57AFA #CDB5FC #EBE2FE

Accessibility & contrast

On white

3.10
#A57AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A57AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57AFA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57AFA#FFFFFF#000000##000000
##A57AFA1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#9293AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a57afa;
/* rgb */ color: rgb(165, 122, 250);
/* oklch */ color: oklch(67.9% 0.184 296.7);
Tailwind
colors: {
  custom: {
    50: '#c3a1fc',
    500: '#a57afa',
    950: '#000000',
  },
}
SCSS
$custom: #a57afa;
$custom-light: #c3a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a57afa",
  "rgb": {
    "r": 165,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 260.156,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67854,
    "c": 0.18428,
    "h": 296.7
  },
  "luminance": 0.28821
}

Semantic roles & 50–950 ramp

primary
#A57AFA
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A57AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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