#A56FBC#A56FBC

#A56FBC is a light, vivid purple. Relative luminance 0.230; OKLCH L 62.7% C 0.126 H 315.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A56FBC
RGBrgb(165, 111, 188)
HSLhsl(282, 36%, 59%)
HSVhsv(282, 41%, 74%)
CMYKcmyk(12.2%, 41%, 0%, 26.3%)
CIE-LABlab(55.07, 35.13, -32.18)
CIE-LCHlch(55.07, 47.65, 317.51°)
OKLaboklab(62.69% 0.0897 -0.0888)
OKLCHoklch(62.69% 0.126 315.3)
XYZxyz(30.2772, 22.9998, 50.4117)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FBC #86BC6F
analogous
#7E6FBC #A56FBC #BC6FAC
triadic
#A56FBC #BCA56F #6FBCA5
tetradic
#A56FBC #BC7E6F #86BC6F #6FACBC
square
#A56FBC #BC7E6F #86BC6F #6FACBC
split-complementary
#A56FBC #ACBC6F #6FBC7E
monochromatic
#653879 #884CA2 #A56FBC #BF99CF #D9C3E3

Accessibility & contrast

On white

3.75
#A56FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#A56FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FBC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FBC#FFFFFF#000000##000000
##A56FBC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6281BF
Deuteranopia (green-blind)
#6F85BA
Tritanopia (blue-blind)
#A4798D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a56fbc;
/* rgb */ color: rgb(165, 111, 188);
/* oklch */ color: oklch(62.7% 0.126 315.3);
Tailwind
colors: {
  custom: {
    50: '#c199d0',
    500: '#a56fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a56fbc;
$custom-light: #c199d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a56fbc",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 282.078,
    "s": 36.493,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62692,
    "c": 0.12626,
    "h": 315.3
  },
  "luminance": 0.22999
}

Semantic roles & 50–950 ramp

primary
#A56FBC
secondary
#BDD3B4
accent
#CC5B7D
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A56FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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