#A56CDF#A56CDF

#A56CDF is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.0% C 0.173 H 304.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A56CDF
RGBrgb(165, 108, 223)
HSLhsl(270, 64%, 65%)
HSVhsv(270, 52%, 87%)
CMYKcmyk(26%, 51.6%, 0%, 12.5%)
CIE-LABlab(56.14, 44.67, -50.38)
CIE-LCHlch(56.14, 67.33, 311.56°)
OKLaboklab(64.05% 0.0988 -0.1416)
OKLCHoklch(64.05% 0.173 304.9)
XYZxyz(34.1960, 24.0524, 72.6388)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56CDF #A6DF6C
analogous
#6C6DDF #A56CDF #DE6CDF
triadic
#A56CDF #DFA56C #6CDFA5
tetradic
#A56CDF #DF6C6D #A6DF6C #6CDFDE
square
#A56CDF #DF6C6D #A6DF6C #6CDFDE
split-complementary
#A56CDF #DFDE6C #6DDF6C
monochromatic
#6825AB #863AD4 #A56CDF #C49EEA #E3D1F5

Accessibility & contrast

On white

3.61
#A56CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A56CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56CDF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56CDF#FFFFFF#000000##000000
##A56CDF1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#5987DC
Tritanopia (blue-blind)
#9B819B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a56cdf;
/* rgb */ color: rgb(165, 108, 223);
/* oklch */ color: oklch(64.0% 0.173 304.9);
Tailwind
colors: {
  custom: {
    50: '#c298e9',
    500: '#a56cdf',
    950: '#000000',
  },
}
SCSS
$custom: #a56cdf;
$custom-light: #c298e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a56cdf",
  "rgb": {
    "r": 165,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 269.739,
    "s": 64.246,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6405,
    "c": 0.17263,
    "h": 304.9
  },
  "luminance": 0.24052
}

Semantic roles & 50–950 ramp

primary
#A56CDF
secondary
#D4E7C0
accent
#CC1974
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A56CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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