#A56CD7#A56CD7

#A56CD7 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.6% C 0.163 H 307.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A56CD7
RGBrgb(165, 108, 215)
HSLhsl(272, 57%, 63%)
HSVhsv(272, 50%, 84%)
CMYKcmyk(23.3%, 49.8%, 0%, 15.7%)
CIE-LABlab(55.72, 42.81, -46.54)
CIE-LCHlch(55.72, 63.23, 312.61°)
OKLaboklab(63.6% 0.0981 -0.1304)
OKLCHoklch(63.6% 0.163 307)
XYZxyz(33.1429, 23.6311, 67.0921)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CD7 #9ED76C
analogous
#6F6CD7 #A56CD7 #D76CD3
triadic
#A56CD7 #D7A56C #6CD7A5
tetradic
#A56CD7 #D76F6C #9ED76C #6CD3D7
square
#A56CD7 #D76F6C #9ED76C #6CD3D7
split-complementary
#A56CD7 #D3D76C #6CD76F
monochromatic
#682B9E #883CCA #A56CD7 #C29CE4 #E0CCF1

Accessibility & contrast

On white

3.67
#A56CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A56CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CD7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CD7#FFFFFF#000000##000000
##A56CD71.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E83DB
Deuteranopia (green-blind)
#5E86D4
Tritanopia (blue-blind)
#9D7E98
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a56cd7;
/* rgb */ color: rgb(165, 108, 215);
/* oklch */ color: oklch(63.6% 0.163 307.0);
Tailwind
colors: {
  custom: {
    50: '#c298e4',
    500: '#a56cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a56cd7;
$custom-light: #c298e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cd7",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 271.963,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63599,
    "c": 0.16314,
    "h": 307
  },
  "luminance": 0.23631
}

Semantic roles & 50–950 ramp

primary
#A56CD7
secondary
#CEE2BC
accent
#C5216D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E15
muted
#827E84

Preview Lab

Preview with #A56CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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