#A57EFA#A57EFA

#A57EFA is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.178 H 295.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A57EFA
RGBrgb(165, 126, 250)
HSLhsl(259, 93%, 74%)
HSVhsv(259, 50%, 98%)
CMYKcmyk(34%, 49.6%, 0%, 2%)
CIE-LABlab(61.50, 41.35, -56.86)
CIE-LCHlch(61.50, 70.30, 306.03°)
OKLaboklab(68.51% 0.0778 -0.1605)
OKLCHoklch(68.51% 0.178 295.8)
XYZxyz(40.2289, 29.8225, 94.0608)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57EFA #D3FA7E
analogous
#7E95FA #A57EFA #E37EFA
triadic
#A57EFA #FAA57E #7EFAA5
tetradic
#A57EFA #FA7E95 #D3FA7E #7EFAE3
square
#A57EFA #FA7E95 #D3FA7E #7EFAE3
split-complementary
#A57EFA #FAE37E #95FA7E
monochromatic
#5309F4 #7C43F8 #A57EFA #CEB9FC #EAE2FE

Accessibility & contrast

On white

3.02
#A57EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A57EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57EFA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57EFA#FFFFFF#000000##000000
##A57EFA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FE
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#9296B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a57efa;
/* rgb */ color: rgb(165, 126, 250);
/* oklch */ color: oklch(68.5% 0.178 295.8);
Tailwind
colors: {
  custom: {
    50: '#c3a4fc',
    500: '#a57efa',
    950: '#000000',
  },
}
SCSS
$custom: #a57efa;
$custom-light: #c3a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a57efa",
  "rgb": {
    "r": 165,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 258.871,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68508,
    "c": 0.17839,
    "h": 295.8
  },
  "luminance": 0.29823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A57EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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