#A57DF2#A57DF2

#A57DF2 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.9% C 0.170 H 297.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A57DF2
RGBrgb(165, 125, 242)
HSLhsl(261, 82%, 72%)
HSVhsv(261, 48%, 95%)
CMYKcmyk(31.8%, 48.3%, 0%, 5.1%)
CIE-LABlab(60.85, 39.90, -53.48)
CIE-LCHlch(60.85, 66.72, 306.72°)
OKLaboklab(67.88% 0.0783 -0.1507)
OKLCHoklch(67.88% 0.17 297.5)
XYZxyz(38.8738, 29.0769, 87.5515)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57DF2 #CAF27D
analogous
#7D90F2 #A57DF2 #E07DF2
triadic
#A57DF2 #F2A57D #7DF2A5
tetradic
#A57DF2 #F27D90 #CAF27D #7DF2E0
square
#A57DF2 #F27D90 #CAF27D #7DF2E0
split-complementary
#A57DF2 #F2E07D #90F27D
monochromatic
#5B16DE #7E45EC #A57DF2 #CCB5F8 #ECE3FC

Accessibility & contrast

On white

3.08
#A57DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#A57DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57DF2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57DF2#FFFFFF#000000##000000
##A57DF21.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#5E92EF
Tritanopia (blue-blind)
#9493AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a57df2;
/* rgb */ color: rgb(165, 125, 242);
/* oklch */ color: oklch(67.9% 0.170 297.5);
Tailwind
colors: {
  custom: {
    50: '#c3a3f7',
    500: '#a57df2',
    950: '#000000',
  },
}
SCSS
$custom: #a57df2;
$custom-light: #c3a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a57df2",
  "rgb": {
    "r": 165,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 260.513,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67883,
    "c": 0.1698,
    "h": 297.5
  },
  "luminance": 0.29077
}

Semantic roles & 50–950 ramp

primary
#A57DF2
secondary
#EAF4D7
accent
#DE0795
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A57DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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