#A57EFE#A57EFE

#A57EFE is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.7% C 0.183 H 295.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A57EFE
RGBrgb(165, 126, 254)
HSLhsl(258, 98%, 75%)
HSVhsv(258, 50%, 100%)
CMYKcmyk(35%, 50.4%, 0%, 0.4%)
CIE-LABlab(61.72, 42.37, -58.71)
CIE-LCHlch(61.72, 72.40, 305.82°)
OKLaboklab(68.74% 0.0781 -0.166)
OKLCHoklch(68.74% 0.183 295.2)
XYZxyz(40.8627, 30.0761, 97.3991)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A57EFE #D7FE7E
analogous
#7E97FE #A57EFE #E57EFE
triadic
#A57EFE #FEA57E #7EFEA5
tetradic
#A57EFE #FE7E97 #D7FE7E #7EFEE5
square
#A57EFE #FE7E97 #D7FE7E #7EFEE5
split-complementary
#A57EFE #FEE57E #97FE7E
monochromatic
#5005FD #7B41FE #A57EFE #CFBBFE #EAE1FF

Accessibility & contrast

On white

2.99
#A57EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#A57EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A57EFE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A57EFE#FFFFFF#000000##000000
##A57EFE1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#5593FB
Tritanopia (blue-blind)
#9097B2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a57efe;
/* rgb */ color: rgb(165, 126, 254);
/* oklch */ color: oklch(68.7% 0.183 295.2);
Tailwind
colors: {
  custom: {
    50: '#c4a4ff',
    500: '#a57efe',
    950: '#000000',
  },
}
SCSS
$custom: #a57efe;
$custom-light: #c4a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a57efe",
  "rgb": {
    "r": 165,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 258.281,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68742,
    "c": 0.18341,
    "h": 295.2
  },
  "luminance": 0.30077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A57EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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