#A56DF5#A56DF5

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

Color values

HEX#A56DF5
RGBrgb(165, 109, 245)
HSLhsl(265, 87%, 69%)
HSVhsv(265, 56%, 96%)
CMYKcmyk(32.7%, 55.5%, 0%, 3.9%)
CIE-LABlab(57.59, 49.41, -60.35)
CIE-LCHlch(57.59, 78.00, 309.31°)
OKLaboklab(65.52% 0.0986 -0.1708)
OKLCHoklch(65.52% 0.197 300)
XYZxyz(37.4632, 25.5289, 89.3224)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DF5 #BDF56D
analogous
#6D79F5 #A56DF5 #E96DF5
triadic
#A56DF5 #F5A56D #6DF5A5
tetradic
#A56DF5 #F56D79 #BDF56D #6DF5E9
square
#A56DF5 #F56D79 #BDF56D #6DF5E9
split-complementary
#A56DF5 #F5E96D #79F56D
monochromatic
#620FD9 #8234F1 #A56DF5 #C8A6F9 #ECE0FD

Accessibility & contrast

On white

3.44
#A56DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#A56DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DF5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DF5#FFFFFF#000000##000000
##A56DF51.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#318AFA
Deuteranopia (green-blind)
#4689F2
Tritanopia (blue-blind)
#9488A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a56df5;
/* rgb */ color: rgb(165, 109, 245);
/* oklch */ color: oklch(65.5% 0.197 300.0);
Tailwind
colors: {
  custom: {
    50: '#c499f9',
    500: '#a56df5',
    950: '#000000',
  },
}
SCSS
$custom: #a56df5;
$custom-light: #c499f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a56df5",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 264.706,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65518,
    "c": 0.19718,
    "h": 300
  },
  "luminance": 0.25529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A56DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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