#A857DC#A857DC

#A857DC is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.202 H 309.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A857DC
RGBrgb(168, 87, 220)
HSLhsl(277, 66%, 60%)
HSVhsv(277, 60%, 86%)
CMYKcmyk(23.6%, 60.5%, 0%, 13.7%)
CIE-LABlab(52.18, 55.64, -54.98)
CIE-LCHlch(52.18, 78.22, 315.34°)
OKLaboklab(61.17% 0.129 -0.1549)
OKLCHoklch(61.17% 0.202 309.8)
XYZxyz(32.4724, 20.3091, 69.9057)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857DC #8BDC57
analogous
#6557DC #A857DC #DC57CE
triadic
#A857DC #DCA857 #57DCA8
tetradic
#A857DC #DC6557 #8BDC57 #57CEDC
square
#A857DC #DC6557 #8BDC57 #57CEDC
split-complementary
#A857DC #CEDC57 #57DC65
monochromatic
#692099 #8C2ACB #A857DC #C28AE7 #DCBCF1

Accessibility & contrast

On white

4.15
#A857DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A857DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857DC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857DC#FFFFFF#000000##000000
##A857DC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E79E0
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#A17191
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a857dc;
/* rgb */ color: rgb(168, 87, 220);
/* oklch */ color: oklch(61.2% 0.202 309.8);
Tailwind
colors: {
  custom: {
    50: '#c58ae7',
    500: '#a857dc',
    950: '#000000',
  },
}
SCSS
$custom: #a857dc;
$custom-light: #c58ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a857dc",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 276.541,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61169,
    "c": 0.20158,
    "h": 309.8
  },
  "luminance": 0.20309
}

Semantic roles & 50–950 ramp

primary
#A857DC
secondary
#C2E1AE
accent
#CD185F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A857DC

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

Preview Lab → · Contrast checker → · Palette generator →

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