#A57FEE#A57FEE

#A57FEE is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.0% C 0.162 H 297.7°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A57FEE
RGBrgb(165, 127, 238)
HSLhsl(261, 77%, 72%)
HSVhsv(261, 47%, 93%)
CMYKcmyk(30.7%, 46.6%, 0%, 6.7%)
CIE-LABlab(61.09, 37.78, -50.88)
CIE-LCHlch(61.09, 63.38, 306.59°)
OKLaboklab(68% 0.0753 -0.1431)
OKLCHoklch(68% 0.162 297.7)
XYZxyz(38.5353, 29.3507, 84.5074)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57FEE #C8EE7F
analogous
#7F91EE #A57FEE #DD7FEE
triadic
#A57FEE #EEA57F #7FEEA5
tetradic
#A57FEE #EE7F91 #C8EE7F #7FEEDD
square
#A57FEE #EE7F91 #C8EE7F #7FEEDD
split-complementary
#A57FEE #EEDD7F #91EE7F
monochromatic
#5C1CD6 #7F49E7 #A57FEE #CBB5F5 #ECE4FB

Accessibility & contrast

On white

3.06
#A57FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#A57FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57FEE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57FEE#FFFFFF#000000##000000
##A57FEE1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F2
Deuteranopia (green-blind)
#6392EB
Tritanopia (blue-blind)
#9694AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a57fee;
/* rgb */ color: rgb(165, 127, 238);
/* oklch */ color: oklch(68.0% 0.162 297.7);
Tailwind
colors: {
  custom: {
    50: '#c2a5f4',
    500: '#a57fee',
    950: '#000000',
  },
}
SCSS
$custom: #a57fee;
$custom-light: #c2a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a57fee",
  "rgb": {
    "r": 165,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 260.541,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67995,
    "c": 0.16167,
    "h": 297.7
  },
  "luminance": 0.29351
}

Semantic roles & 50–950 ramp

primary
#A57FEE
secondary
#E9F3D6
accent
#D90D93
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A57FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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