#A57AF7#A57AF7

#A57AF7 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.181 H 297.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A57AF7
RGBrgb(165, 122, 247)
HSLhsl(261, 89%, 72%)
HSVhsv(261, 51%, 97%)
CMYKcmyk(33.2%, 50.6%, 0%, 3.1%)
CIE-LABlab(60.46, 42.82, -56.87)
CIE-LCHlch(60.46, 71.19, 306.98°)
OKLaboklab(67.68% 0.0826 -0.1606)
OKLCHoklch(67.68% 0.181 297.2)
XYZxyz(39.2609, 28.6333, 91.4360)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57AF7 #CCF77A
analogous
#7A8EF7 #A57AF7 #E37AF7
triadic
#A57AF7 #F7A57A #7AF7A5
tetradic
#A57AF7 #F77A8E #CCF77A #7AF7E3
square
#A57AF7 #F77A8E #CCF77A #7AF7E3
split-complementary
#A57AF7 #F7E37A #8EF77A
monochromatic
#590EE9 #7E40F4 #A57AF7 #CCB4FA #EBE2FD

Accessibility & contrast

On white

3.12
#A57AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#A57AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57AF7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57AF7#FFFFFF#000000##000000
##A57AF71.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#5690F4
Tritanopia (blue-blind)
#9392AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a57af7;
/* rgb */ color: rgb(165, 122, 247);
/* oklch */ color: oklch(67.7% 0.181 297.2);
Tailwind
colors: {
  custom: {
    50: '#c3a1fa',
    500: '#a57af7',
    950: '#000000',
  },
}
SCSS
$custom: #a57af7;
$custom-light: #c3a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a57af7",
  "rgb": {
    "r": 165,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 260.64,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67678,
    "c": 0.18056,
    "h": 297.2
  },
  "luminance": 0.28634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A57AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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