#A56CD8#A56CD8

#A56CD8 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.7% C 0.164 H 306.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A56CD8
RGBrgb(165, 108, 216)
HSLhsl(272, 58%, 64%)
HSVhsv(272, 50%, 85%)
CMYKcmyk(23.6%, 50%, 0%, 15.3%)
CIE-LABlab(55.77, 43.04, -47.02)
CIE-LCHlch(55.77, 63.74, 312.47°)
OKLaboklab(63.65% 0.0982 -0.1318)
OKLCHoklch(63.65% 0.164 306.7)
XYZxyz(33.2718, 23.6826, 67.7708)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CD8 #9FD86C
analogous
#6F6CD8 #A56CD8 #D86CD5
triadic
#A56CD8 #D8A56C #6CD8A5
tetradic
#A56CD8 #D86F6C #9FD86C #6CD5D8
square
#A56CD8 #D86F6C #9FD86C #6CD5D8
split-complementary
#A56CD8 #D5D86C #6CD86F
monochromatic
#682A9F #873CCB #A56CD8 #C39CE5 #E0CDF2

Accessibility & contrast

On white

3.66
#A56CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A56CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CD8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CD8#FFFFFF#000000##000000
##A56CD81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D84DC
Deuteranopia (green-blind)
#5E86D5
Tritanopia (blue-blind)
#9D7F98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a56cd8;
/* rgb */ color: rgb(165, 108, 216);
/* oklch */ color: oklch(63.7% 0.164 306.7);
Tailwind
colors: {
  custom: {
    50: '#c298e4',
    500: '#a56cd8',
    950: '#000000',
  },
}
SCSS
$custom: #a56cd8;
$custom-light: #c298e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cd8",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 271.667,
    "s": 58.065,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63654,
    "c": 0.16433,
    "h": 306.7
  },
  "luminance": 0.23682
}

Semantic roles & 50–950 ramp

primary
#A56CD8
secondary
#CFE3BD
accent
#C6206E
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A56CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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