#A857EC#A857EC

#A857EC is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.2% C 0.218 H 306.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A857EC
RGBrgb(168, 87, 236)
HSLhsl(273, 80%, 63%)
HSVhsv(273, 63%, 93%)
CMYKcmyk(28.8%, 63.1%, 0%, 7.5%)
CIE-LABlab(53.17, 59.21, -62.42)
CIE-LCHlch(53.17, 86.03, 313.49°)
OKLaboklab(62.19% 0.1284 -0.1767)
OKLCHoklch(62.19% 0.218 306)
XYZxyz(34.6937, 21.1977, 81.6045)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857EC #9BEC57
analogous
#5D57EC #A857EC #EC57E6
triadic
#A857EC #ECA857 #57ECA8
tetradic
#A857EC #EC5D57 #9BEC57 #57E6EC
square
#A857EC #EC5D57 #9BEC57 #57E6EC
split-complementary
#A857EC #E6EC57 #57EC5D
monochromatic
#6B14B4 #8C20E6 #A857EC #C48EF2 #E1C5F8

Accessibility & contrast

On white

4.01
#A857EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A857EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857EC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857EC#FFFFFF#000000##000000
##A857EC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#347FE9
Tritanopia (blue-blind)
#9C769A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a857ec;
/* rgb */ color: rgb(168, 87, 236);
/* oklch */ color: oklch(62.2% 0.218 306.0);
Tailwind
colors: {
  custom: {
    50: '#c68bf3',
    500: '#a857ec',
    950: '#000000',
  },
}
SCSS
$custom: #a857ec;
$custom-light: #c68bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a857ec",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 272.617,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62193,
    "c": 0.21844,
    "h": 306
  },
  "luminance": 0.21197
}

Semantic roles & 50–950 ramp

primary
#A857EC
secondary
#CDEAB5
accent
#DC0A6A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A857EC

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

Preview Lab → · Contrast checker → · Palette generator →

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