#A56BD2#A56BD2

#A56BD2 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.2% C 0.159 H 308.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A56BD2
RGBrgb(165, 107, 210)
HSLhsl(274, 53%, 62%)
HSVhsv(274, 49%, 82%)
CMYKcmyk(21.4%, 49%, 0%, 17.6%)
CIE-LABlab(55.25, 42.21, -44.46)
CIE-LCHlch(55.25, 61.30, 313.51°)
OKLaboklab(63.17% 0.0989 -0.1243)
OKLCHoklch(63.17% 0.159 308.5)
XYZxyz(32.4053, 23.1683, 63.7251)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BD2 #98D26B
analogous
#716BD2 #A56BD2 #D26BCC
triadic
#A56BD2 #D2A56B #6BD2A5
tetradic
#A56BD2 #D2716B #98D26B #6BCCD2
square
#A56BD2 #D2716B #98D26B #6BCCD2
split-complementary
#A56BD2 #CCD26B #6BD271
monochromatic
#682D95 #883CC4 #A56BD2 #C29AE0 #DEC9EF

Accessibility & contrast

On white

3.73
#A56BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#A56BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BD2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BD2#FFFFFF#000000##000000
##A56BD21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D6
Deuteranopia (green-blind)
#6085CF
Tritanopia (blue-blind)
#9F7C95
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a56bd2;
/* rgb */ color: rgb(165, 107, 210);
/* oklch */ color: oklch(63.2% 0.159 308.5);
Tailwind
colors: {
  custom: {
    50: '#c297e0',
    500: '#a56bd2',
    950: '#000000',
  },
}
SCSS
$custom: #a56bd2;
$custom-light: #c297e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bd2",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 273.786,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63165,
    "c": 0.15884,
    "h": 308.5
  },
  "luminance": 0.23168
}

Semantic roles & 50–950 ramp

primary
#A56BD2
secondary
#CADFB9
accent
#C12569
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A56BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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