#A56DFC#A56DFC

#A56DFC is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.0% C 0.205 H 298.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A56DFC
RGBrgb(165, 109, 252)
HSLhsl(263, 96%, 71%)
HSVhsv(263, 57%, 99%)
CMYKcmyk(34.5%, 56.7%, 0%, 1.2%)
CIE-LABlab(58.00, 51.14, -63.56)
CIE-LCHlch(58.00, 81.58, 308.82°)
OKLaboklab(65.96% 0.0986 -0.1802)
OKLCHoklch(65.96% 0.205 298.7)
XYZxyz(38.5520, 25.9645, 95.0571)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DFC #C4FC6D
analogous
#6D7CFC #A56DFC #ED6DFC
triadic
#A56DFC #FCA56D #6DFCA5
tetradic
#A56DFC #FC6D7C #C4FC6D #6DFCED
square
#A56DFC #FC6D7C #C4FC6D #6DFCED
split-complementary
#A56DFC #FCED6D #7CFC6D
monochromatic
#5E05EA #8031FB #A56DFC #CAA9FD #EDE1FE

Accessibility & contrast

On white

3.39
#A56DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A56DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DFC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DFC#FFFFFF#000000##000000
##A56DFC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#258BFF
Deuteranopia (green-blind)
#3E8AF9
Tritanopia (blue-blind)
#928BAA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56dfc;
/* rgb */ color: rgb(165, 109, 252);
/* oklch */ color: oklch(66.0% 0.205 298.7);
Tailwind
colors: {
  custom: {
    50: '#c499fe',
    500: '#a56dfc',
    950: '#000000',
  },
}
SCSS
$custom: #a56dfc;
$custom-light: #c499fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a56dfc",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 263.497,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65957,
    "c": 0.20541,
    "h": 298.7
  },
  "luminance": 0.25965
}

Semantic roles & 50–950 ramp

primary
#A56DFC
secondary
#E7F6CF
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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