#A857E8#A857E8

#A857E8 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.9% C 0.214 H 306.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A857E8
RGBrgb(168, 87, 232)
HSLhsl(274, 76%, 63%)
HSVhsv(274, 63%, 91%)
CMYKcmyk(27.6%, 62.5%, 0%, 9%)
CIE-LABlab(52.91, 58.31, -60.58)
CIE-LCHlch(52.91, 84.08, 313.91°)
OKLaboklab(61.93% 0.1286 -0.1713)
OKLCHoklch(61.93% 0.214 306.9)
XYZxyz(34.1191, 20.9678, 78.5781)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857E8 #97E857
analogous
#5F57E8 #A857E8 #E857E0
triadic
#A857E8 #E8A857 #57E8A8
tetradic
#A857E8 #E85F57 #97E857 #57E0E8
square
#A857E8 #E85F57 #97E857 #57E0E8
split-complementary
#A857E8 #E0E857 #57E85F
monochromatic
#6B18AD #8C21E1 #A857E8 #C48DEF #E0C3F7

Accessibility & contrast

On white

4.04
#A857E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A857E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857E8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857E8#FFFFFF#000000##000000
##A857E81.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#3A7FE5
Tritanopia (blue-blind)
#9E7598
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a857e8;
/* rgb */ color: rgb(168, 87, 232);
/* oklch */ color: oklch(61.9% 0.214 306.9);
Tailwind
colors: {
  custom: {
    50: '#c68bf0',
    500: '#a857e8',
    950: '#000000',
  },
}
SCSS
$custom: #a857e8;
$custom-light: #c68bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#a857e8",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 273.517,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61932,
    "c": 0.21423,
    "h": 306.9
  },
  "luminance": 0.20967
}

Semantic roles & 50–950 ramp

primary
#A857E8
secondary
#CAE8B3
accent
#D80D67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A857E8

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

Preview Lab → · Contrast checker → · Palette generator →

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