#A57EEE#A57EEE

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

Color values

HEX#A57EEE
RGBrgb(165, 126, 238)
HSLhsl(261, 77%, 71%)
HSVhsv(261, 47%, 93%)
CMYKcmyk(30.7%, 47.1%, 0%, 6.7%)
CIE-LABlab(60.86, 38.34, -51.24)
CIE-LCHlch(60.86, 64.00, 306.80°)
OKLaboklab(67.83% 0.0766 -0.1441)
OKLCHoklch(67.83% 0.163 298)
XYZxyz(38.4068, 29.0937, 84.4645)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57EEE #C7EE7E
analogous
#7E8FEE #A57EEE #DD7EEE
triadic
#A57EEE #EEA57E #7EEEA5
tetradic
#A57EEE #EE7E8F #C7EE7E #7EEEDD
square
#A57EEE #EE7E8F #C7EE7E #7EEEDD
split-complementary
#A57EEE #EEDD7E #8FEE7E
monochromatic
#5D1CD5 #7F48E7 #A57EEE #CBB4F5 #ECE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A57EEE#FFFFFF#000000##000000
##A57EEE1.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)
#5A93F2
Deuteranopia (green-blind)
#6292EB
Tritanopia (blue-blind)
#9693AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a57eee;
/* rgb */ color: rgb(165, 126, 238);
/* oklch */ color: oklch(67.8% 0.163 298.0);
Tailwind
colors: {
  custom: {
    50: '#c2a4f4',
    500: '#a57eee',
    950: '#000000',
  },
}
SCSS
$custom: #a57eee;
$custom-light: #c2a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a57eee",
  "rgb": {
    "r": 165,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 260.893,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67826,
    "c": 0.16321,
    "h": 298
  },
  "luminance": 0.29094
}

Semantic roles & 50–950 ramp

primary
#A57EEE
secondary
#E8F2D5
accent
#D90D92
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A57EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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