#A57AFB#A57AFB

#A57AFB is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.9% C 0.186 H 296.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A57AFB
RGBrgb(165, 122, 251)
HSLhsl(260, 94%, 73%)
HSVhsv(260, 51%, 98%)
CMYKcmyk(34.3%, 51.4%, 0%, 1.6%)
CIE-LABlab(60.68, 43.83, -58.72)
CIE-LCHlch(60.68, 73.27, 306.74°)
OKLaboklab(67.91% 0.0828 -0.166)
OKLCHoklch(67.91% 0.186 296.5)
XYZxyz(39.8848, 28.8828, 94.7217)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57AFB #D0FB7A
analogous
#7A8FFB #A57AFB #E57AFB
triadic
#A57AFB #FBA57A #7AFBA5
tetradic
#A57AFB #FB7A8F #D0FB7A #7AFBE5
square
#A57AFB #FB7A8F #D0FB7A #7AFBE5
split-complementary
#A57AFB #FBE57A #8FFB7A
monochromatic
#5607F3 #7D3FF9 #A57AFB #CDB5FD #EBE1FE

Accessibility & contrast

On white

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

On black

6.78
#A57AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57AFB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57AFB#FFFFFF#000000##000000
##A57AFB1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#9194AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a57afb;
/* rgb */ color: rgb(165, 122, 251);
/* oklch */ color: oklch(67.9% 0.186 296.5);
Tailwind
colors: {
  custom: {
    50: '#c3a1fd',
    500: '#a57afb',
    950: '#000000',
  },
}
SCSS
$custom: #a57afb;
$custom-light: #c3a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a57afb",
  "rgb": {
    "r": 165,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 260,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67914,
    "c": 0.18552,
    "h": 296.5
  },
  "luminance": 0.28883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A57AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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