#A857EA#A857EA

#A857EA is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.216 H 306.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A857EA
RGBrgb(168, 87, 234)
HSLhsl(273, 78%, 63%)
HSVhsv(273, 63%, 92%)
CMYKcmyk(28.2%, 62.8%, 0%, 8.2%)
CIE-LABlab(53.04, 58.76, -61.50)
CIE-LCHlch(53.04, 85.06, 313.69°)
OKLaboklab(62.06% 0.1285 -0.174)
OKLCHoklch(62.06% 0.216 306.5)
XYZxyz(34.4048, 21.0821, 80.0827)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857EA #99EA57
analogous
#5E57EA #A857EA #EA57E3
triadic
#A857EA #EAA857 #57EAA8
tetradic
#A857EA #EA5E57 #99EA57 #57E3EA
square
#A857EA #EA5E57 #99EA57 #57E3EA
split-complementary
#A857EA #E3EA57 #57EA5E
monochromatic
#6B16B1 #8C21E3 #A857EA #C48DF1 #E0C4F8

Accessibility & contrast

On white

4.03
#A857EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A857EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857EA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857EA#FFFFFF#000000##000000
##A857EA1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#377FE7
Tritanopia (blue-blind)
#9D7599
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a857ea;
/* rgb */ color: rgb(168, 87, 234);
/* oklch */ color: oklch(62.1% 0.216 306.5);
Tailwind
colors: {
  custom: {
    50: '#c68bf1',
    500: '#a857ea',
    950: '#000000',
  },
}
SCSS
$custom: #a857ea;
$custom-light: #c68bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a857ea",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 273.061,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62062,
    "c": 0.21633,
    "h": 306.5
  },
  "luminance": 0.21082
}

Semantic roles & 50–950 ramp

primary
#A857EA
secondary
#CCE9B4
accent
#DA0B68
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A857EA

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

Preview Lab → · Contrast checker → · Palette generator →

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