#A56CD1#A56CD1

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

Color values

HEX#A56CD1
RGBrgb(165, 108, 209)
HSLhsl(274, 52%, 62%)
HSVhsv(274, 48%, 82%)
CMYKcmyk(21.1%, 48.3%, 0%, 18%)
CIE-LABlab(55.41, 41.43, -43.63)
CIE-LCHlch(55.41, 60.17, 313.52°)
OKLaboklab(63.27% 0.0974 -0.1219)
OKLCHoklch(63.27% 0.156 308.6)
XYZxyz(32.3860, 23.3283, 63.1060)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CD1 #98D16C
analogous
#726CD1 #A56CD1 #D16CCB
triadic
#A56CD1 #D1A56C #6CD1A5
tetradic
#A56CD1 #D1726C #98D16C #6CCBD1
square
#A56CD1 #D1726C #98D16C #6CCBD1
split-complementary
#A56CD1 #CBD16C #6CD172
monochromatic
#682E94 #883DC2 #A56CD1 #C29BE0 #DEC9EE

Accessibility & contrast

On white

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

On black

5.67
#A56CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CD1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CD1#FFFFFF#000000##000000
##A56CD11.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5282D5
Deuteranopia (green-blind)
#6285CE
Tritanopia (blue-blind)
#9F7D95
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a56cd1;
/* rgb */ color: rgb(165, 108, 209);
/* oklch */ color: oklch(63.3% 0.156 308.6);
Tailwind
colors: {
  custom: {
    50: '#c297df',
    500: '#a56cd1',
    950: '#000000',
  },
}
SCSS
$custom: #a56cd1;
$custom-light: #c297df;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cd1",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 209
  },
  "hsl": {
    "h": 273.861,
    "s": 52.332,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6327,
    "c": 0.15604,
    "h": 308.6
  },
  "luminance": 0.23328
}

Semantic roles & 50–950 ramp

primary
#A56CD1
secondary
#CADFBA
accent
#C02669
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A56CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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