#A56FAC#A56FAC

#A56FAC is a mid, moderate purple. Relative luminance 0.223; OKLCH L 62.0% C 0.108 H 322.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A56FAC
RGBrgb(165, 111, 172)
HSLhsl(293, 27%, 55%)
HSVhsv(293, 35%, 67%)
CMYKcmyk(4.1%, 35.5%, 0%, 32.5%)
CIE-LABlab(54.39, 31.81, -24.02)
CIE-LCHlch(54.39, 39.86, 322.95°)
OKLaboklab(61.96% 0.0861 -0.0655)
OKLCHoklch(61.96% 0.108 322.7)
XYZxyz(28.6470, 22.3477, 41.8262)
Luminance0.2235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FAC #76AC6F
analogous
#866FAC #A56FAC #AC6F94
triadic
#A56FAC #ACA56F #6FACA5
tetradic
#A56FAC #AC866F #76AC6F #6F94AC
square
#A56FAC #AC866F #76AC6F #6F94AC
split-complementary
#A56FAC #94AC6F #6FAC86
monochromatic
#613B66 #86518D #A56FAC #BD96C2 #D6BDD9

Accessibility & contrast

On white

3.84
#A56FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#A56FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FAC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FAC#FFFFFF#000000##000000
##A56FAC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAE
Deuteranopia (green-blind)
#7684AA
Tritanopia (blue-blind)
#A77586
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a56fac;
/* rgb */ color: rgb(165, 111, 172);
/* oklch */ color: oklch(62.0% 0.108 322.7);
Tailwind
colors: {
  custom: {
    50: '#c099c5',
    500: '#a56fac',
    950: '#000000',
  },
}
SCSS
$custom: #a56fac;
$custom-light: #c099c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a56fac",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 293.115,
    "s": 26.872,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61958,
    "c": 0.10817,
    "h": 322.7
  },
  "luminance": 0.22347
}

Semantic roles & 50–950 ramp

primary
#A56FAC
secondary
#B2C8AF
accent
#C3656F
background
#FBF9FC
surface
#F7F2F8
border
#D0CCD1
text
#120E12
muted
#817E81

Preview Lab

Preview with #A56FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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