#A56DF0#A56DF0

#A56DF0 is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.2% C 0.191 H 301.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A56DF0
RGBrgb(165, 109, 240)
HSLhsl(266, 81%, 68%)
HSVhsv(266, 55%, 94%)
CMYKcmyk(31.2%, 54.6%, 0%, 5.9%)
CIE-LABlab(57.30, 48.19, -58.04)
CIE-LCHlch(57.30, 75.44, 309.71°)
OKLaboklab(65.21% 0.0984 -0.164)
OKLCHoklch(65.21% 0.191 301)
XYZxyz(36.7102, 25.2277, 85.3566)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DF0 #B8F06D
analogous
#6D76F0 #A56DF0 #E66DF0
triadic
#A56DF0 #F0A56D #6DF0A5
tetradic
#A56DF0 #F06D76 #B8F06D #6DF0E6
square
#A56DF0 #F06D76 #B8F06D #6DF0E6
split-complementary
#A56DF0 #F0E66D #76F06D
monochromatic
#6415CD #8336EA #A56DF0 #C7A4F6 #E9DCFB

Accessibility & contrast

On white

3.47
#A56DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#A56DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DF0
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DF0#FFFFFF#000000##000000
##A56DF01.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3889F4
Deuteranopia (green-blind)
#4B89ED
Tritanopia (blue-blind)
#9687A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56df0;
/* rgb */ color: rgb(165, 109, 240);
/* oklch */ color: oklch(65.2% 0.191 301.0);
Tailwind
colors: {
  custom: {
    50: '#c399f6',
    500: '#a56df0',
    950: '#000000',
  },
}
SCSS
$custom: #a56df0;
$custom-light: #c399f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a56df0",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 240
  },
  "hsl": {
    "h": 265.649,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65211,
    "c": 0.19127,
    "h": 301
  },
  "luminance": 0.25228
}

Semantic roles & 50–950 ramp

primary
#A56DF0
secondary
#DFF0C9
accent
#DE0882
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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