#A56DFD#A56DFD

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

Color values

HEX#A56DFD
RGBrgb(165, 109, 253)
HSLhsl(263, 97%, 71%)
HSVhsv(263, 57%, 99%)
CMYKcmyk(34.8%, 56.9%, 0%, 0.8%)
CIE-LABlab(58.06, 51.39, -64.01)
CIE-LCHlch(58.06, 82.09, 308.76°)
OKLaboklab(66.02% 0.0986 -0.1815)
OKLCHoklch(66.02% 0.207 298.5)
XYZxyz(38.7109, 26.0280, 95.8939)
Luminance0.2603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DFD #C5FD6D
analogous
#6D7DFD #A56DFD #ED6DFD
triadic
#A56DFD #FDA56D #6DFDA5
tetradic
#A56DFD #FD6D7D #C5FD6D #6DFDED
square
#A56DFD #FD6D7D #C5FD6D #6DFDED
split-complementary
#A56DFD #FDED6D #7DFD6D
monochromatic
#5E03EC #8031FC #A56DFD #CAA9FE #ECE1FF

Accessibility & contrast

On white

3.38
#A56DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A56DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DFD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DFD#FFFFFF#000000##000000
##A56DFD1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#238CFF
Deuteranopia (green-blind)
#3C8AFA
Tritanopia (blue-blind)
#918BAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a56dfd;
/* rgb */ color: rgb(165, 109, 253);
/* oklch */ color: oklch(66.0% 0.207 298.5);
Tailwind
colors: {
  custom: {
    50: '#c499ff',
    500: '#a56dfd',
    950: '#000000',
  },
}
SCSS
$custom: #a56dfd;
$custom-light: #c499ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a56dfd",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 263.333,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66021,
    "c": 0.20659,
    "h": 298.5
  },
  "luminance": 0.26028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A56DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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