#A57AF5#A57AF5

#A57AF5 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.6% C 0.178 H 297.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A57AF5
RGBrgb(165, 122, 245)
HSLhsl(261, 86%, 72%)
HSVhsv(261, 50%, 96%)
CMYKcmyk(32.7%, 50.2%, 0%, 3.9%)
CIE-LABlab(60.35, 42.32, -55.94)
CIE-LCHlch(60.35, 70.14, 307.11°)
OKLaboklab(67.56% 0.0824 -0.1579)
OKLCHoklch(67.56% 0.178 297.6)
XYZxyz(38.9540, 28.5105, 89.8193)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57AF5 #CAF57A
analogous
#7A8DF5 #A57AF5 #E37AF5
triadic
#A57AF5 #F5A57A #7AF5A5
tetradic
#A57AF5 #F57A8D #CAF57A #7AF5E3
square
#A57AF5 #F57A8D #CAF57A #7AF5E3
split-complementary
#A57AF5 #F5E37A #8DF57A
monochromatic
#5B11E3 #7E41F1 #A57AF5 #CCB3F9 #ECE3FD

Accessibility & contrast

On white

3.13
#A57AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#A57AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57AF5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57AF5#FFFFFF#000000##000000
##A57AF51.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92F9
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#9492AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a57af5;
/* rgb */ color: rgb(165, 122, 245);
/* oklch */ color: oklch(67.6% 0.178 297.6);
Tailwind
colors: {
  custom: {
    50: '#c3a1f9',
    500: '#a57af5',
    950: '#000000',
  },
}
SCSS
$custom: #a57af5;
$custom-light: #c3a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a57af5",
  "rgb": {
    "r": 165,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 260.976,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67561,
    "c": 0.17808,
    "h": 297.6
  },
  "luminance": 0.28511
}

Semantic roles & 50–950 ramp

primary
#A57AF5
secondary
#EAF5D6
accent
#E30394
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A57AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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