#A56AAA#A56AAA

#A56AAA is a mid, moderate purple. Relative luminance 0.212; OKLCH L 61.0% C 0.115 H 324.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A56AAA
RGBrgb(165, 106, 170)
HSLhsl(295, 27%, 54%)
HSVhsv(295, 38%, 67%)
CMYKcmyk(2.9%, 37.6%, 0%, 33.3%)
CIE-LABlab(53.18, 34.21, -24.73)
CIE-LCHlch(53.18, 42.22, 324.14°)
OKLaboklab(61.01% 0.0933 -0.0675)
OKLCHoklch(61.01% 0.115 324.1)
XYZxyz(27.9260, 21.2107, 40.6455)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AAA #6FAA6A
analogous
#856AAA #A56AAA #AA6A8F
triadic
#A56AAA #AAA56A #6AAAA5
tetradic
#A56AAA #AA856A #6FAA6A #6A8FAA
square
#A56AAA #AA856A #6FAA6A #6A8FAA
split-complementary
#A56AAA #8FAA6A #6AAA85
monochromatic
#5F3862 #844E89 #A56AAA #BD91C0 #D4B8D6

Accessibility & contrast

On white

4.01
#A56AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A56AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AAA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AAA#FFFFFF#000000##000000
##A56AAA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#647AAC
Deuteranopia (green-blind)
#7381A8
Tritanopia (blue-blind)
#A87182
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a56aaa;
/* rgb */ color: rgb(165, 106, 170);
/* oklch */ color: oklch(61.0% 0.115 324.1);
Tailwind
colors: {
  custom: {
    50: '#c196c3',
    500: '#a56aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a56aaa;
$custom-light: #c196c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a56aaa",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 295.313,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61014,
    "c": 0.11515,
    "h": 324.1
  },
  "luminance": 0.2121
}

Semantic roles & 50–950 ramp

primary
#A56AAA
secondary
#ACC6AA
accent
#C4646C
background
#FBF9FC
surface
#F7F2F8
border
#D0CCD1
text
#120D12
muted
#817E81

Preview Lab

Preview with #A56AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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