#A857E6#A857E6

#A857E6 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.212 H 307.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A857E6
RGBrgb(168, 87, 230)
HSLhsl(274, 74%, 62%)
HSVhsv(274, 62%, 90%)
CMYKcmyk(27%, 62.2%, 0%, 9.8%)
CIE-LABlab(52.79, 57.86, -59.65)
CIE-LCHlch(52.79, 83.10, 314.12°)
OKLaboklab(61.8% 0.1287 -0.1686)
OKLCHoklch(61.8% 0.212 307.4)
XYZxyz(33.8366, 20.8548, 77.0904)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857E6 #95E657
analogous
#6157E6 #A857E6 #E657DC
triadic
#A857E6 #E6A857 #57E6A8
tetradic
#A857E6 #E66157 #95E657 #57DCE6
square
#A857E6 #E66157 #95E657 #57DCE6
split-complementary
#A857E6 #DCE657 #57E661
monochromatic
#6B19A9 #8C22DE #A857E6 #C48CEE #DFC2F6

Accessibility & contrast

On white

4.06
#A857E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A857E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857E6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857E6#FFFFFF#000000##000000
##A857E61.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#9E7497
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a857e6;
/* rgb */ color: rgb(168, 87, 230);
/* oklch */ color: oklch(61.8% 0.212 307.4);
Tailwind
colors: {
  custom: {
    50: '#c68bef',
    500: '#a857e6',
    950: '#000000',
  },
}
SCSS
$custom: #a857e6;
$custom-light: #c68bef;
$custom-dark: #000000;
JSON
{
  "hex": "#a857e6",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 273.986,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61802,
    "c": 0.21212,
    "h": 307.4
  },
  "luminance": 0.20854
}

Semantic roles & 50–950 ramp

primary
#A857E6
secondary
#C9E7B2
accent
#D60F66
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A857E6

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

Preview Lab → · Contrast checker → · Palette generator →

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