#A857EF#A857EF

#A857EF is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.4% C 0.222 H 305.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A857EF
RGBrgb(168, 87, 239)
HSLhsl(272, 83%, 64%)
HSVhsv(272, 64%, 94%)
CMYKcmyk(29.7%, 63.6%, 0%, 6.3%)
CIE-LABlab(53.36, 59.89, -63.79)
CIE-LCHlch(53.36, 87.50, 313.19°)
OKLaboklab(62.39% 0.1282 -0.1807)
OKLCHoklch(62.39% 0.222 305.4)
XYZxyz(35.1332, 21.3735, 83.9192)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857EF #9EEF57
analogous
#5C57EF #A857EF #EF57EA
triadic
#A857EF #EFA857 #57EFA8
tetradic
#A857EF #EF5C57 #9EEF57 #57EAEF
square
#A857EF #EF5C57 #9EEF57 #57EAEF
split-complementary
#A857EF #EAEF57 #57EF5C
monochromatic
#6B12BA #8B1FEA #A857EF #C58FF4 #E2C7FA

Accessibility & contrast

On white

3.98
#A857EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A857EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857EF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857EF#FFFFFF#000000##000000
##A857EF1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#3080EC
Tritanopia (blue-blind)
#9B779B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a857ef;
/* rgb */ color: rgb(168, 87, 239);
/* oklch */ color: oklch(62.4% 0.222 305.4);
Tailwind
colors: {
  custom: {
    50: '#c68bf5',
    500: '#a857ef',
    950: '#000000',
  },
}
SCSS
$custom: #a857ef;
$custom-light: #c68bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a857ef",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 271.974,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62392,
    "c": 0.22161,
    "h": 305.4
  },
  "luminance": 0.21373
}

Semantic roles & 50–950 ramp

primary
#A857EF
secondary
#CFECB6
accent
#DF066C
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A857EF

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

Preview Lab → · Contrast checker → · Palette generator →

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