#A56BD4#A56BD4

#A56BD4 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.3% C 0.161 H 307.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A56BD4
RGBrgb(165, 107, 212)
HSLhsl(273, 55%, 63%)
HSVhsv(273, 50%, 83%)
CMYKcmyk(22.2%, 49.5%, 0%, 16.9%)
CIE-LABlab(55.35, 42.66, -45.43)
CIE-LCHlch(55.35, 62.32, 313.20°)
OKLaboklab(63.27% 0.0991 -0.1271)
OKLCHoklch(63.27% 0.161 307.9)
XYZxyz(32.6561, 23.2686, 65.0455)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BD4 #9AD46B
analogous
#716BD4 #A56BD4 #D46BCE
triadic
#A56BD4 #D4A56B #6BD4A5
tetradic
#A56BD4 #D4716B #9AD46B #6BCED4
square
#A56BD4 #D4716B #9AD46B #6BCED4
split-complementary
#A56BD4 #CED46B #6BD471
monochromatic
#682C98 #883CC6 #A56BD4 #C29AE2 #DFCAF0

Accessibility & contrast

On white

3.71
#A56BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#A56BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BD4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BD4#FFFFFF#000000##000000
##A56BD41.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D8
Deuteranopia (green-blind)
#5F85D1
Tritanopia (blue-blind)
#9E7D96
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a56bd4;
/* rgb */ color: rgb(165, 107, 212);
/* oklch */ color: oklch(63.3% 0.161 307.9);
Tailwind
colors: {
  custom: {
    50: '#c297e2',
    500: '#a56bd4',
    950: '#000000',
  },
}
SCSS
$custom: #a56bd4;
$custom-light: #c297e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bd4",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 212
  },
  "hsl": {
    "h": 273.143,
    "s": 54.974,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63274,
    "c": 0.1612,
    "h": 307.9
  },
  "luminance": 0.23268
}

Semantic roles & 50–950 ramp

primary
#A56BD4
secondary
#CBE0BA
accent
#C2236A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A56BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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