#A57EFC#A57EFC

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

Color values

HEX#A57EFC
RGBrgb(165, 126, 252)
HSLhsl(259, 95%, 74%)
HSVhsv(259, 50%, 99%)
CMYKcmyk(34.5%, 50%, 0%, 1.2%)
CIE-LABlab(61.61, 41.86, -57.78)
CIE-LCHlch(61.61, 71.35, 305.92°)
OKLaboklab(68.63% 0.0779 -0.1633)
OKLCHoklch(68.63% 0.181 295.5)
XYZxyz(40.5441, 29.9486, 95.7212)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57EFC #D5FC7E
analogous
#7E96FC #A57EFC #E47EFC
triadic
#A57EFC #FCA57E #7EFCA5
tetradic
#A57EFC #FC7E96 #D5FC7E #7EFCE4
square
#A57EFC #FC7E96 #D5FC7E #7EFCE4
split-complementary
#A57EFC #FCE47E #96FC7E
monochromatic
#5206F9 #7B42FB #A57EFC #CFBAFD #EAE1FE

Accessibility & contrast

On white

3.00
#A57EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#A57EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A57EFC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57EFC#FFFFFF#000000##000000
##A57EFC1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#5793F9
Tritanopia (blue-blind)
#9197B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a57efc;
/* rgb */ color: rgb(165, 126, 252);
/* oklch */ color: oklch(68.6% 0.181 295.5);
Tailwind
colors: {
  custom: {
    50: '#c3a4fe',
    500: '#a57efc',
    950: '#000000',
  },
}
SCSS
$custom: #a57efc;
$custom-light: #c3a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a57efc",
  "rgb": {
    "r": 165,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 258.571,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68625,
    "c": 0.18091,
    "h": 295.5
  },
  "luminance": 0.29949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A57EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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