#A56BB2#A56BB2

#A56BB2 is a mid, vivid purple. Relative luminance 0.217; OKLCH L 61.5% C 0.122 H 320.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A56BB2
RGBrgb(165, 107, 178)
HSLhsl(289, 32%, 56%)
HSVhsv(289, 40%, 70%)
CMYKcmyk(7.3%, 39.9%, 0%, 30.2%)
CIE-LABlab(53.74, 35.27, -28.50)
CIE-LCHlch(53.74, 45.34, 321.06°)
OKLaboklab(61.55% 0.0936 -0.0782)
OKLCHoklch(61.55% 0.122 320.1)
XYZxyz(28.8096, 21.7300, 44.7876)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BB2 #78B26B
analogous
#816BB2 #A56BB2 #B26B9B
triadic
#A56BB2 #B2A56B #6BB2A5
tetradic
#A56BB2 #B2816B #78B26B #6B9BB2
square
#A56BB2 #B2816B #78B26B #6B9BB2
split-complementary
#A56BB2 #9BB26B #6BB281
monochromatic
#62386B #864D93 #A56BB2 #BD93C7 #D6BCDC

Accessibility & contrast

On white

3.93
#A56BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A56BB2#FFFFFF#000000##000000
##A56BB21.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#627CB5
Deuteranopia (green-blind)
#7083B0
Tritanopia (blue-blind)
#A67486
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a56bb2;
/* rgb */ color: rgb(165, 107, 178);
/* oklch */ color: oklch(61.5% 0.122 320.1);
Tailwind
colors: {
  custom: {
    50: '#c196c9',
    500: '#a56bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a56bb2;
$custom-light: #c196c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bb2",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 289.014,
    "s": 31.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.122,
    "h": 320.1
  },
  "luminance": 0.21729
}

Semantic roles & 50–950 ramp

primary
#A56BB2
secondary
#B3CBAE
accent
#C86073
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A56BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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