#A57CEE#A57CEE

#A57CEE is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.5% C 0.166 H 298.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A57CEE
RGBrgb(165, 124, 238)
HSLhsl(262, 77%, 71%)
HSVhsv(262, 48%, 93%)
CMYKcmyk(30.7%, 47.9%, 0%, 6.7%)
CIE-LABlab(60.42, 39.46, -51.95)
CIE-LCHlch(60.42, 65.24, 307.22°)
OKLaboklab(67.49% 0.0792 -0.1462)
OKLCHoklch(67.49% 0.166 298.4)
XYZxyz(38.1536, 28.5873, 84.3801)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57CEE #C5EE7C
analogous
#7C8CEE #A57CEE #DE7CEE
triadic
#A57CEE #EEA57C #7CEEA5
tetradic
#A57CEE #EE7C8C #C5EE7C #7CEEDE
square
#A57CEE #EE7C8C #C5EE7C #7CEEDE
split-complementary
#A57CEE #EEDE7C #8CEE7C
monochromatic
#5E1CD4 #8046E7 #A57CEE #CAB2F5 #ECE4FB

Accessibility & contrast

On white

3.13
#A57CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A57CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57CEE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57CEE#FFFFFF#000000##000000
##A57CEE1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#6091EB
Tritanopia (blue-blind)
#9691AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a57cee;
/* rgb */ color: rgb(165, 124, 238);
/* oklch */ color: oklch(67.5% 0.166 298.4);
Tailwind
colors: {
  custom: {
    50: '#c3a3f4',
    500: '#a57cee',
    950: '#000000',
  },
}
SCSS
$custom: #a57cee;
$custom-light: #c3a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a57cee",
  "rgb": {
    "r": 165,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 261.579,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67491,
    "c": 0.16628,
    "h": 298.4
  },
  "luminance": 0.28588
}

Semantic roles & 50–950 ramp

primary
#A57CEE
secondary
#E7F2D4
accent
#D90C90
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A57CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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