#A57DFB#A57DFB

#A57DFB is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.4% C 0.181 H 295.9°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A57DFB
RGBrgb(165, 125, 251)
HSLhsl(259, 94%, 74%)
HSVhsv(259, 50%, 98%)
CMYKcmyk(34.3%, 50.2%, 0%, 1.6%)
CIE-LABlab(61.33, 42.16, -57.67)
CIE-LCHlch(61.33, 71.44, 306.17°)
OKLaboklab(68.4% 0.0791 -0.1629)
OKLCHoklch(68.4% 0.181 295.9)
XYZxyz(40.2589, 29.6309, 94.8464)
Luminance0.2963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57DFB #D3FB7D
analogous
#7D94FB #A57DFB #E47DFB
triadic
#A57DFB #FBA57D #7DFBA5
tetradic
#A57DFB #FB7D94 #D3FB7D #7DFBE4
square
#A57DFB #FB7D94 #D3FB7D #7DFBE4
split-complementary
#A57DFB #FBE47D #94FB7D
monochromatic
#5308F6 #7C42F9 #A57DFB #CEB8FD #EAE1FE

Accessibility & contrast

On white

3.03
#A57DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A57DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57DFB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57DFB#FFFFFF#000000##000000
##A57DFB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#5792F8
Tritanopia (blue-blind)
#9196B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a57dfb;
/* rgb */ color: rgb(165, 125, 251);
/* oklch */ color: oklch(68.4% 0.181 295.9);
Tailwind
colors: {
  custom: {
    50: '#c3a3fd',
    500: '#a57dfb',
    950: '#000000',
  },
}
SCSS
$custom: #a57dfb;
$custom-light: #c3a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a57dfb",
  "rgb": {
    "r": 165,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 259.048,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68402,
    "c": 0.18112,
    "h": 295.9
  },
  "luminance": 0.29632
}

Semantic roles & 50–950 ramp

primary
#A57DFB
secondary
#ECF6D5
accent
#E6009D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A57DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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