#A857DB#A857DB

#A857DB is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.201 H 310.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A857DB
RGBrgb(168, 87, 219)
HSLhsl(277, 65%, 60%)
HSVhsv(277, 60%, 86%)
CMYKcmyk(23.3%, 60.3%, 0%, 14.1%)
CIE-LABlab(52.13, 55.42, -54.50)
CIE-LCHlch(52.13, 77.73, 315.48°)
OKLaboklab(61.11% 0.129 -0.1535)
OKLCHoklch(61.11% 0.201 310.1)
XYZxyz(32.3404, 20.2563, 69.2103)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A857DB #8ADB57
analogous
#6657DB #A857DB #DB57CC
triadic
#A857DB #DBA857 #57DBA8
tetradic
#A857DB #DB6657 #8ADB57 #57CCDB
square
#A857DB #DB6657 #8ADB57 #57CCDB
split-complementary
#A857DB #CCDB57 #57DB66
monochromatic
#692097 #8C2BCA #A857DB #C289E6 #DCBCF1

Accessibility & contrast

On white

4.16
#A857DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A857DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A857DB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A857DB#FFFFFF#000000##000000
##A857DB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2179DF
Deuteranopia (green-blind)
#487ED8
Tritanopia (blue-blind)
#A17091
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a857db;
/* rgb */ color: rgb(168, 87, 219);
/* oklch */ color: oklch(61.1% 0.201 310.1);
Tailwind
colors: {
  custom: {
    50: '#c58ae7',
    500: '#a857db',
    950: '#000000',
  },
}
SCSS
$custom: #a857db;
$custom-light: #c58ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a857db",
  "rgb": {
    "r": 168,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 276.818,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.20052,
    "h": 310.1
  },
  "luminance": 0.20256
}

Semantic roles & 50–950 ramp

primary
#A857DB
secondary
#C1E0AD
accent
#E84081
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A857DB

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

Preview Lab → · Contrast checker → · Palette generator →

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