#A857DD#A857DD

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

Color values

HEX#A857DD
RGBrgb(168, 87, 221)
HSLhsl(276, 66%, 60%)
HSVhsv(276, 61%, 87%)
CMYKcmyk(24%, 60.6%, 0%, 13.3%)
CIE-LABlab(52.24, 55.86, -55.45)
CIE-LCHlch(52.24, 78.71, 315.21°)
OKLaboklab(61.23% 0.129 -0.1562)
OKLCHoklch(61.23% 0.203 309.5)
XYZxyz(32.6053, 20.3623, 70.6053)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857DD #8CDD57
analogous
#6557DD #A857DD #DD57CF
triadic
#A857DD #DDA857 #57DDA8
tetradic
#A857DD #DD6557 #8CDD57 #57CFDD
square
#A857DD #DD6557 #8CDD57 #57CFDD
split-complementary
#A857DD #CFDD57 #57DD65
monochromatic
#6A1F9A #8D2ACD #A857DD #C28AE7 #DDBDF2

Accessibility & contrast

On white

4.14
#A857DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A857DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857DD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857DD#FFFFFF#000000##000000
##A857DD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C79E1
Deuteranopia (green-blind)
#467EDA
Tritanopia (blue-blind)
#A17192
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a857dd;
/* rgb */ color: rgb(168, 87, 221);
/* oklch */ color: oklch(61.2% 0.203 309.5);
Tailwind
colors: {
  custom: {
    50: '#c58ae8',
    500: '#a857dd',
    950: '#000000',
  },
}
SCSS
$custom: #a857dd;
$custom-light: #c58ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#a857dd",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 276.269,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.20263,
    "h": 309.5
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#A857DD
secondary
#C3E1AE
accent
#CE1760
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A857DD

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

Preview Lab → · Contrast checker → · Palette generator →

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