#A56BB1#A56BB1

#A56BB1 is a mid, vivid purple. Relative luminance 0.217; OKLCH L 61.5% C 0.121 H 320.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A56BB1
RGBrgb(165, 107, 177)
HSLhsl(290, 31%, 56%)
HSVhsv(290, 40%, 69%)
CMYKcmyk(6.8%, 39.5%, 0%, 30.6%)
CIE-LABlab(53.70, 35.06, -27.99)
CIE-LCHlch(53.70, 44.86, 321.40°)
OKLaboklab(61.5% 0.0934 -0.0768)
OKLCHoklch(61.5% 0.121 320.6)
XYZxyz(28.7096, 21.6900, 44.2607)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BB1 #77B16B
analogous
#826BB1 #A56BB1 #B16B9A
triadic
#A56BB1 #B1A56B #6BB1A5
tetradic
#A56BB1 #B1826B #77B16B #6B9AB1
square
#A56BB1 #B1826B #77B16B #6B9AB1
split-complementary
#A56BB1 #9AB16B #6BB182
monochromatic
#61386A #864D92 #A56BB1 #BD93C6 #D6BBDB

Accessibility & contrast

On white

3.93
#A56BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#A56BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BB1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BB1#FFFFFF#000000##000000
##A56BB11.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#627CB4
Deuteranopia (green-blind)
#7183AF
Tritanopia (blue-blind)
#A67386
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a56bb1;
/* rgb */ color: rgb(165, 107, 177);
/* oklch */ color: oklch(61.5% 0.121 320.6);
Tailwind
colors: {
  custom: {
    50: '#c196c8',
    500: '#a56bb1',
    950: '#000000',
  },
}
SCSS
$custom: #a56bb1;
$custom-light: #c196c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bb1",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 289.714,
    "s": 30.973,
    "l": 55.686
  },
  "oklch": {
    "l": 0.615,
    "c": 0.1209,
    "h": 320.6
  },
  "luminance": 0.21689
}

Semantic roles & 50–950 ramp

primary
#A56BB1
secondary
#B2CAAD
accent
#C76172
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A56BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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