#A57AF2#A57AF2

#A57AF2 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.174 H 298.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A57AF2
RGBrgb(165, 122, 242)
HSLhsl(262, 82%, 71%)
HSVhsv(262, 50%, 95%)
CMYKcmyk(31.8%, 49.6%, 0%, 5.1%)
CIE-LABlab(60.18, 41.57, -54.54)
CIE-LCHlch(60.18, 68.57, 307.31°)
OKLaboklab(67.39% 0.0822 -0.1538)
OKLCHoklch(67.39% 0.174 298.1)
XYZxyz(38.4997, 28.3288, 87.4268)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57AF2 #C7F27A
analogous
#7A8BF2 #A57AF2 #E17AF2
triadic
#A57AF2 #F2A57A #7AF2A5
tetradic
#A57AF2 #F27A8B #C7F27A #7AF2E1
square
#A57AF2 #F27A8B #C7F27A #7AF2E1
split-complementary
#A57AF2 #F2E17A #8BF27A
monochromatic
#5D16DC #7F42ED #A57AF2 #CBB2F7 #ECE3FC

Accessibility & contrast

On white

3.15
#A57AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#A57AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57AF2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57AF2#FFFFFF#000000##000000
##A57AF21.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#9591AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a57af2;
/* rgb */ color: rgb(165, 122, 242);
/* oklch */ color: oklch(67.4% 0.174 298.1);
Tailwind
colors: {
  custom: {
    50: '#c3a1f7',
    500: '#a57af2',
    950: '#000000',
  },
}
SCSS
$custom: #a57af2;
$custom-light: #c3a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a57af2",
  "rgb": {
    "r": 165,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 261.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67387,
    "c": 0.17433,
    "h": 298.1
  },
  "luminance": 0.28329
}

Semantic roles & 50–950 ramp

primary
#A57AF2
secondary
#E8F3D4
accent
#DF0791
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A57AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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