#A56BB7#A56BB7

#A56BB7 is a mid, vivid purple. Relative luminance 0.219; OKLCH L 61.8% C 0.128 H 317.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A56BB7
RGBrgb(165, 107, 183)
HSLhsl(286, 35%, 57%)
HSVhsv(286, 42%, 72%)
CMYKcmyk(9.8%, 41.5%, 0%, 28.2%)
CIE-LABlab(53.96, 36.30, -31.05)
CIE-LCHlch(53.96, 47.77, 319.46°)
OKLaboklab(61.78% 0.0947 -0.0855)
OKLCHoklch(61.78% 0.128 317.9)
XYZxyz(29.3208, 21.9345, 47.4798)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BB7 #7DB76B
analogous
#7F6BB7 #A56BB7 #B76BA3
triadic
#A56BB7 #B7A56B #6BB7A5
tetradic
#A56BB7 #B77F6B #7DB76B #6BA3B7
square
#A56BB7 #B77F6B #7DB76B #6BA3B7
split-complementary
#A56BB7 #A3B76B #6BB77F
monochromatic
#633771 #874B9A #A56BB7 #BE94CB #D7BDDF

Accessibility & contrast

On white

3.90
#A56BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#A56BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BB7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BB7#FFFFFF#000000##000000
##A56BB71.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBA
Deuteranopia (green-blind)
#6E83B5
Tritanopia (blue-blind)
#A57588
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a56bb7;
/* rgb */ color: rgb(165, 107, 183);
/* oklch */ color: oklch(61.8% 0.128 317.9);
Tailwind
colors: {
  custom: {
    50: '#c196cd',
    500: '#a56bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a56bb7;
$custom-light: #c196cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bb7",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 285.789,
    "s": 34.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61782,
    "c": 0.12758,
    "h": 317.9
  },
  "luminance": 0.21934
}

Semantic roles & 50–950 ramp

primary
#A56BB7
secondary
#B7CEAF
accent
#CB5D77
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120D13
muted
#817E82

Preview Lab

Preview with #A56BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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