#A56DB2#A56DB2

#A56DB2 is a mid, moderate purple. Relative luminance 0.222; OKLCH L 61.9% C 0.118 H 319.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A56DB2
RGBrgb(165, 109, 178)
HSLhsl(289, 31%, 56%)
HSVhsv(289, 39%, 70%)
CMYKcmyk(7.3%, 38.8%, 0%, 30.2%)
CIE-LABlab(54.19, 34.15, -27.80)
CIE-LCHlch(54.19, 44.04, 320.85°)
OKLaboklab(61.88% 0.0906 -0.0763)
OKLCHoklch(61.88% 0.118 319.9)
XYZxyz(29.0205, 22.1519, 44.8579)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DB2 #7AB26D
analogous
#836DB2 #A56DB2 #B26D9D
triadic
#A56DB2 #B2A56D #6DB2A5
tetradic
#A56DB2 #B2836D #7AB26D #6D9DB2
square
#A56DB2 #B2836D #7AB26D #6D9DB2
split-complementary
#A56DB2 #9DB26D #6DB283
monochromatic
#62396C #874E94 #A56DB2 #BE95C7 #D6BDDC

Accessibility & contrast

On white

3.87
#A56DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#A56DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DB2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DB2#FFFFFF#000000##000000
##A56DB21.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB5
Deuteranopia (green-blind)
#7284B0
Tritanopia (blue-blind)
#A67587
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a56db2;
/* rgb */ color: rgb(165, 109, 178);
/* oklch */ color: oklch(61.9% 0.118 319.9);
Tailwind
colors: {
  custom: {
    50: '#c198c9',
    500: '#a56db2',
    950: '#000000',
  },
}
SCSS
$custom: #a56db2;
$custom-light: #c198c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a56db2",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 288.696,
    "s": 30.942,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61884,
    "c": 0.11841,
    "h": 319.9
  },
  "luminance": 0.22151
}

Semantic roles & 50–950 ramp

primary
#A56DB2
secondary
#B5CCAF
accent
#C76174
background
#FBF9FC
surface
#F7F2F8
border
#D0CCD1
text
#120E13
muted
#817E82

Preview Lab

Preview with #A56DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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