#A56BB3#A56BB3

#A56BB3 is a mid, vivid purple. Relative luminance 0.218; OKLCH L 61.6% C 0.123 H 319.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A56BB3
RGBrgb(165, 107, 179)
HSLhsl(288, 32%, 56%)
HSVhsv(288, 40%, 70%)
CMYKcmyk(7.8%, 40.2%, 0%, 29.8%)
CIE-LABlab(53.78, 35.47, -29.01)
CIE-LCHlch(53.78, 45.83, 320.72°)
OKLaboklab(61.59% 0.0938 -0.0797)
OKLCHoklch(61.59% 0.123 319.6)
XYZxyz(28.9104, 21.7703, 45.3183)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BB3 #79B36B
analogous
#816BB3 #A56BB3 #B36B9D
triadic
#A56BB3 #B3A56B #6BB3A5
tetradic
#A56BB3 #B3816B #79B36B #6B9DB3
square
#A56BB3 #B3816B #79B36B #6B9DB3
split-complementary
#A56BB3 #9DB36B #6BB381
monochromatic
#62386C #864C95 #A56BB3 #BE93C8 #D6BCDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A56BB3#FFFFFF#000000##000000
##A56BB31.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)
#617DB6
Deuteranopia (green-blind)
#7083B1
Tritanopia (blue-blind)
#A67487
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a56bb3;
/* rgb */ color: rgb(165, 107, 179);
/* oklch */ color: oklch(61.6% 0.123 319.6);
Tailwind
colors: {
  custom: {
    50: '#c196ca',
    500: '#a56bb3',
    950: '#000000',
  },
}
SCSS
$custom: #a56bb3;
$custom-light: #c196ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bb3",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 288.333,
    "s": 32.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61593,
    "c": 0.12311,
    "h": 319.6
  },
  "luminance": 0.21769
}

Semantic roles & 50–950 ramp

primary
#A56BB3
secondary
#B4CCAE
accent
#C85F74
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A56BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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