#A56CD2#A56CD2

#A56CD2 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.3% C 0.157 H 308.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A56CD2
RGBrgb(165, 108, 210)
HSLhsl(274, 53%, 62%)
HSVhsv(274, 49%, 82%)
CMYKcmyk(21.4%, 48.6%, 0%, 17.6%)
CIE-LABlab(55.46, 41.66, -44.12)
CIE-LCHlch(55.46, 60.68, 313.36°)
OKLaboklab(63.32% 0.0975 -0.1233)
OKLCHoklch(63.32% 0.157 308.3)
XYZxyz(32.5102, 23.3780, 63.7600)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CD2 #99D26C
analogous
#726CD2 #A56CD2 #D26CCC
triadic
#A56CD2 #D2A56C #6CD2A5
tetradic
#A56CD2 #D2726C #99D26C #6CCCD2
square
#A56CD2 #D2726C #99D26C #6CCCD2
split-complementary
#A56CD2 #CCD26C #6CD272
monochromatic
#682E96 #883DC4 #A56CD2 #C29BE0 #DECAEF

Accessibility & contrast

On white

3.70
#A56CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#A56CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CD2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CD2#FFFFFF#000000##000000
##A56CD21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5182D6
Deuteranopia (green-blind)
#6186CF
Tritanopia (blue-blind)
#9F7D95
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a56cd2;
/* rgb */ color: rgb(165, 108, 210);
/* oklch */ color: oklch(63.3% 0.157 308.3);
Tailwind
colors: {
  custom: {
    50: '#c297e0',
    500: '#a56cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a56cd2;
$custom-light: #c297e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cd2",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 273.529,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63324,
    "c": 0.15723,
    "h": 308.3
  },
  "luminance": 0.23378
}

Semantic roles & 50–950 ramp

primary
#A56CD2
secondary
#CBE0BA
accent
#C1256A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A56CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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