#A57DEB#A57DEB

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

Color values

HEX#A57DEB
RGBrgb(165, 125, 235)
HSLhsl(262, 73%, 71%)
HSVhsv(262, 47%, 92%)
CMYKcmyk(29.8%, 46.8%, 0%, 7.8%)
CIE-LABlab(60.48, 38.16, -50.18)
CIE-LCHlch(60.48, 63.04, 307.25°)
OKLaboklab(67.49% 0.0775 -0.141)
OKLCHoklch(67.49% 0.161 298.8)
XYZxyz(37.8425, 28.6644, 82.1202)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57DEB #C3EB7D
analogous
#7D8CEB #A57DEB #DC7DEB
triadic
#A57DEB #EBA57D #7DEBA5
tetradic
#A57DEB #EB7D8C #C3EB7D #7DEBDC
square
#A57DEB #EB7D8C #C3EB7D #7DEBDC
split-complementary
#A57DEB #EBDC7D #8CEB7D
monochromatic
#5F20CE #8048E3 #A57DEB #CAB2F3 #EDE4FB

Accessibility & contrast

On white

3.12
#A57DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#A57DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57DEB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57DEB#FFFFFF#000000##000000
##A57DEB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#9791A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a57deb;
/* rgb */ color: rgb(165, 125, 235);
/* oklch */ color: oklch(67.5% 0.161 298.8);
Tailwind
colors: {
  custom: {
    50: '#c2a3f2',
    500: '#a57deb',
    950: '#000000',
  },
}
SCSS
$custom: #a57deb;
$custom-light: #c2a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a57deb",
  "rgb": {
    "r": 165,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 261.818,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67491,
    "c": 0.16094,
    "h": 298.8
  },
  "luminance": 0.28665
}

Semantic roles & 50–950 ramp

primary
#A57DEB
secondary
#E6F1D3
accent
#D5108E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A57DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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