#A56ABA#A56ABA

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

Color values

HEX#A56ABA
RGBrgb(165, 106, 186)
HSLhsl(284, 37%, 57%)
HSVhsv(284, 43%, 73%)
CMYKcmyk(11.3%, 43%, 0%, 27.1%)
CIE-LABlab(53.87, 37.49, -32.91)
CIE-LCHlch(53.87, 49.88, 318.72°)
OKLaboklab(61.76% 0.0967 -0.0909)
OKLCHoklch(61.76% 0.133 316.8)
XYZxyz(29.5327, 21.8534, 49.1073)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56ABA #7FBA6A
analogous
#7D6ABA #A56ABA #BA6AA7
triadic
#A56ABA #BAA56A #6ABAA5
tetradic
#A56ABA #BA7D6A #7FBA6A #6AA7BA
square
#A56ABA #BA7D6A #7FBA6A #6AA7BA
split-complementary
#A56ABA #A7BA6A #6ABA7D
monochromatic
#643674 #88499E #A56ABA #BE94CD #D8BEE1

Accessibility & contrast

On white

3.91
#A56ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#A56ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56ABA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56ABA#FFFFFF#000000##000000
##A56ABA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#6C83B8
Tritanopia (blue-blind)
#A47589
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a56aba;
/* rgb */ color: rgb(165, 106, 186);
/* oklch */ color: oklch(61.8% 0.133 316.8);
Tailwind
colors: {
  custom: {
    50: '#c196cf',
    500: '#a56aba',
    950: '#000000',
  },
}
SCSS
$custom: #a56aba;
$custom-light: #c196cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a56aba",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 284.25,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61761,
    "c": 0.13272,
    "h": 316.8
  },
  "luminance": 0.21853
}

Semantic roles & 50–950 ramp

primary
#A56ABA
secondary
#B8D0B0
accent
#CD5B79
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A56ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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