#A57DEC#A57DEC

#A57DEC is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.5% C 0.162 H 298.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A57DEC
RGBrgb(165, 125, 236)
HSLhsl(262, 74%, 71%)
HSVhsv(262, 47%, 93%)
CMYKcmyk(30.1%, 47%, 0%, 7.5%)
CIE-LABlab(60.54, 38.41, -50.65)
CIE-LCHlch(60.54, 63.57, 307.17°)
OKLaboklab(67.55% 0.0777 -0.1424)
OKLCHoklch(67.55% 0.162 298.6)
XYZxyz(37.9874, 28.7224, 82.8832)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57DEC #C4EC7D
analogous
#7D8CEC #A57DEC #DD7DEC
triadic
#A57DEC #ECA57D #7DECA5
tetradic
#A57DEC #EC7D8C #C4EC7D #7DECDD
square
#A57DEC #EC7D8C #C4EC7D #7DECDD
split-complementary
#A57DEC #ECDD7D #8CEC7D
monochromatic
#5E1ED0 #8048E4 #A57DEC #CAB2F4 #EDE4FB

Accessibility & contrast

On white

3.11
#A57DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#A57DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57DEC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57DEC#FFFFFF#000000##000000
##A57DEC1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#9691A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a57dec;
/* rgb */ color: rgb(165, 125, 236);
/* oklch */ color: oklch(67.5% 0.162 298.6);
Tailwind
colors: {
  custom: {
    50: '#c2a3f2',
    500: '#a57dec',
    950: '#000000',
  },
}
SCSS
$custom: #a57dec;
$custom-light: #c2a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a57dec",
  "rgb": {
    "r": 165,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 261.622,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67547,
    "c": 0.16221,
    "h": 298.6
  },
  "luminance": 0.28723
}

Semantic roles & 50–950 ramp

primary
#A57DEC
secondary
#E7F1D3
accent
#D70F8F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A57DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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