#A57EFB#A57EFB

#A57EFB is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.6% C 0.180 H 295.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A57EFB
RGBrgb(165, 126, 251)
HSLhsl(259, 94%, 74%)
HSVhsv(259, 50%, 98%)
CMYKcmyk(34.3%, 49.8%, 0%, 1.6%)
CIE-LABlab(61.56, 41.61, -57.32)
CIE-LCHlch(61.56, 70.83, 305.97°)
OKLaboklab(68.57% 0.0779 -0.1619)
OKLCHoklch(68.57% 0.18 295.7)
XYZxyz(40.3861, 29.8854, 94.8888)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57EFB #D4FB7E
analogous
#7E96FB #A57EFB #E47EFB
triadic
#A57EFB #FBA57E #7EFBA5
tetradic
#A57EFB #FB7E96 #D4FB7E #7EFBE4
square
#A57EFB #FB7E96 #D4FB7E #7EFBE4
split-complementary
#A57EFB #FBE47E #96FB7E
monochromatic
#5208F7 #7C43F9 #A57EFB #CEB9FD #EAE1FE

Accessibility & contrast

On white

3.01
#A57EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#A57EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57EFB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57EFB#FFFFFF#000000##000000
##A57EFB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#9196B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a57efb;
/* rgb */ color: rgb(165, 126, 251);
/* oklch */ color: oklch(68.6% 0.180 295.7);
Tailwind
colors: {
  custom: {
    50: '#c3a4fd',
    500: '#a57efb',
    950: '#000000',
  },
}
SCSS
$custom: #a57efb;
$custom-light: #c3a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a57efb",
  "rgb": {
    "r": 165,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 258.72,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68566,
    "c": 0.17964,
    "h": 295.7
  },
  "luminance": 0.29886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A57EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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