#A56EA2#A56EA2

#A56EA2 is a mid, moderate purple. Relative luminance 0.218; OKLCH L 61.4% C 0.100 H 328.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A56EA2
RGBrgb(165, 110, 162)
HSLhsl(303, 23%, 54%)
HSVhsv(303, 33%, 65%)
CMYKcmyk(0%, 33.3%, 1.8%, 35.3%)
CIE-LABlab(53.77, 30.41, -19.17)
CIE-LCHlch(53.77, 35.95, 327.78°)
OKLaboklab(61.36% 0.0849 -0.0519)
OKLCHoklch(61.36% 0.1 328.6)
XYZxyz(27.6141, 21.7609, 36.9211)
Luminance0.2176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56EA2 #6EA571
analogous
#8D6EA5 #A56EA2 #A56E87
triadic
#A56EA2 #A2A56E #6EA2A5
tetradic
#A56EA2 #A58D6E #6EA571 #6E87A5
square
#A56EA2 #A58D6E #6EA571 #6E87A5
split-complementary
#A56EA2 #87A56E #6EA58D
monochromatic
#5E3A5C #845281 #A56EA2 #BC94BA #D4BAD2

Accessibility & contrast

On white

3.92
#A56EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#A56EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56EA2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56EA2#FFFFFF#000000##000000
##A56EA21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7CA4
Deuteranopia (green-blind)
#7983A0
Tritanopia (blue-blind)
#A97281
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a56ea2;
/* rgb */ color: rgb(165, 110, 162);
/* oklch */ color: oklch(61.4% 0.100 328.6);
Tailwind
colors: {
  custom: {
    50: '#c098bd',
    500: '#a56ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a56ea2;
$custom-light: #c098bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ea2",
  "rgb": {
    "r": 165,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 303.273,
    "s": 23.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61358,
    "c": 0.09951,
    "h": 328.6
  },
  "luminance": 0.2176
}

Semantic roles & 50–950 ramp

primary
#A56EA2
secondary
#ACC3AD
accent
#C06D68
background
#FBF9FB
surface
#F7F2F6
border
#D0CCD0
text
#120E12
muted
#817E81

Preview Lab

Preview with #A56EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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