#A56BD5#A56BD5

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

Color values

HEX#A56BD5
RGBrgb(165, 107, 213)
HSLhsl(273, 56%, 63%)
HSVhsv(273, 50%, 84%)
CMYKcmyk(22.5%, 49.8%, 0%, 16.5%)
CIE-LABlab(55.40, 42.89, -45.91)
CIE-LCHlch(55.40, 62.83, 313.05°)
OKLaboklab(63.33% 0.0992 -0.1285)
OKLCHoklch(63.33% 0.162 307.7)
XYZxyz(32.7826, 23.3192, 65.7119)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BD5 #9BD56B
analogous
#706BD5 #A56BD5 #D56BD0
triadic
#A56BD5 #D5A56B #6BD5A5
tetradic
#A56BD5 #D5706B #9BD56B #6BD0D5
square
#A56BD5 #D5706B #9BD56B #6BD0D5
split-complementary
#A56BD5 #D0D56B #6BD570
monochromatic
#682C9A #883BC7 #A56BD5 #C29BE3 #DFCAF0

Accessibility & contrast

On white

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

On black

5.66
#A56BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BD5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BD5#FFFFFF#000000##000000
##A56BD51.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a56bd5;
/* rgb */ color: rgb(165, 107, 213);
/* oklch */ color: oklch(63.3% 0.162 307.7);
Tailwind
colors: {
  custom: {
    50: '#c297e2',
    500: '#a56bd5',
    950: '#000000',
  },
}
SCSS
$custom: #a56bd5;
$custom-light: #c297e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bd5",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 213
  },
  "hsl": {
    "h": 272.83,
    "s": 55.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63329,
    "c": 0.16239,
    "h": 307.7
  },
  "luminance": 0.23319
}

Semantic roles & 50–950 ramp

primary
#A56BD5
secondary
#CCE1BB
accent
#C3226B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A56BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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