#A56DB1#A56DB1

#A56DB1 is a mid, moderate purple. Relative luminance 0.221; OKLCH L 61.8% C 0.117 H 320.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A56DB1
RGBrgb(165, 109, 177)
HSLhsl(289, 30%, 56%)
HSVhsv(289, 38%, 69%)
CMYKcmyk(6.8%, 38.4%, 0%, 30.6%)
CIE-LABlab(54.15, 33.95, -27.29)
CIE-LCHlch(54.15, 43.56, 321.20°)
OKLaboklab(61.84% 0.0903 -0.0748)
OKLCHoklch(61.84% 0.117 320.4)
XYZxyz(28.9205, 22.1118, 44.3310)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DB1 #79B16D
analogous
#836DB1 #A56DB1 #B16D9B
triadic
#A56DB1 #B1A56D #6DB1A5
tetradic
#A56DB1 #B1836D #79B16D #6D9BB1
square
#A56DB1 #B1836D #79B16D #6D9BB1
split-complementary
#A56DB1 #9BB16D #6DB183
monochromatic
#62396B #864E93 #A56DB1 #BE95C6 #D6BDDC

Accessibility & contrast

On white

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

On black

5.42
#A56DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DB1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DB1#FFFFFF#000000##000000
##A56DB11.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB4
Deuteranopia (green-blind)
#7284AF
Tritanopia (blue-blind)
#A67587
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a56db1;
/* rgb */ color: rgb(165, 109, 177);
/* oklch */ color: oklch(61.8% 0.117 320.4);
Tailwind
colors: {
  custom: {
    50: '#c198c8',
    500: '#a56db1',
    950: '#000000',
  },
}
SCSS
$custom: #a56db1;
$custom-light: #c198c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a56db1",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 177
  },
  "hsl": {
    "h": 289.412,
    "s": 30.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.1173,
    "h": 320.4
  },
  "luminance": 0.22111
}

Semantic roles & 50–950 ramp

primary
#A56DB1
secondary
#B4CBAF
accent
#C76173
background
#FBF9FC
surface
#F7F2F8
border
#D0CCD1
text
#120E13
muted
#817E82

Preview Lab

Preview with #A56DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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