#A56DF4#A56DF4

#A56DF4 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.5% C 0.196 H 300.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A56DF4
RGBrgb(165, 109, 244)
HSLhsl(265, 86%, 69%)
HSVhsv(265, 55%, 96%)
CMYKcmyk(32.4%, 55.3%, 0%, 4.3%)
CIE-LABlab(57.53, 49.17, -59.89)
CIE-LCHlch(57.53, 77.49, 309.39°)
OKLaboklab(65.46% 0.0985 -0.1694)
OKLCHoklch(65.46% 0.196 300.2)
XYZxyz(37.3109, 25.4680, 88.5205)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DF4 #BCF46D
analogous
#6D79F4 #A56DF4 #E96DF4
triadic
#A56DF4 #F4A56D #6DF4A5
tetradic
#A56DF4 #F46D79 #BCF46D #6DF4E9
square
#A56DF4 #F46D79 #BCF46D #6DF4E9
split-complementary
#A56DF4 #F4E96D #79F46D
monochromatic
#6210D6 #8234F0 #A56DF4 #C8A6F8 #EBDFFD

Accessibility & contrast

On white

3.45
#A56DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#A56DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DF4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DF4#FFFFFF#000000##000000
##A56DF41.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#338AF8
Deuteranopia (green-blind)
#4789F1
Tritanopia (blue-blind)
#9588A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56df4;
/* rgb */ color: rgb(165, 109, 244);
/* oklch */ color: oklch(65.5% 0.196 300.2);
Tailwind
colors: {
  custom: {
    50: '#c499f8',
    500: '#a56df4',
    950: '#000000',
  },
}
SCSS
$custom: #a56df4;
$custom-light: #c499f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a56df4",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 244
  },
  "hsl": {
    "h": 264.889,
    "s": 85.987,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65456,
    "c": 0.196,
    "h": 300.2
  },
  "luminance": 0.25468
}

Semantic roles & 50–950 ramp

primary
#A56DF4
secondary
#E2F2CB
accent
#E30386
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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