#A856DB#A856DB

#A856DB is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.0% C 0.202 H 310.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A856DB
RGBrgb(168, 86, 219)
HSLhsl(277, 65%, 60%)
HSVhsv(277, 61%, 86%)
CMYKcmyk(23.3%, 60.7%, 0%, 14.1%)
CIE-LABlab(51.95, 55.91, -54.79)
CIE-LCHlch(51.95, 78.28, 315.58°)
OKLaboklab(60.98% 0.1303 -0.1543)
OKLCHoklch(60.98% 0.202 310.2)
XYZxyz(32.2600, 20.0955, 69.1835)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A856DB #89DB56
analogous
#6556DB #A856DB #DB56CC
triadic
#A856DB #DBA856 #56DBA8
tetradic
#A856DB #DB6556 #89DB56 #56CCDB
square
#A856DB #DB6556 #89DB56 #56CCDB
split-complementary
#A856DB #CCDB56 #56DB65
monochromatic
#692097 #8C2BC9 #A856DB #C288E6 #DCBBF0

Accessibility & contrast

On white

4.18
#A856DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A856DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A856DB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A856DB#FFFFFF#000000##000000
##A856DB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D78DF
Deuteranopia (green-blind)
#477DD8
Tritanopia (blue-blind)
#A16F91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a856db;
/* rgb */ color: rgb(168, 86, 219);
/* oklch */ color: oklch(61.0% 0.202 310.2);
Tailwind
colors: {
  custom: {
    50: '#c58ae7',
    500: '#a856db',
    950: '#000000',
  },
}
SCSS
$custom: #a856db;
$custom-light: #c58ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a856db",
  "rgb": {
    "r": 168,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 276.992,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60976,
    "c": 0.20195,
    "h": 310.2
  },
  "luminance": 0.20095
}

Semantic roles & 50–950 ramp

primary
#A856DB
secondary
#C0E0AD
accent
#E84080
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A856DB

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

Preview Lab → · Contrast checker → · Palette generator →

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