#A56DFB#A56DFB

#A56DFB is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 65.9% C 0.204 H 298.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A56DFB
RGBrgb(165, 109, 251)
HSLhsl(264, 95%, 71%)
HSVhsv(264, 57%, 98%)
CMYKcmyk(34.3%, 56.6%, 0%, 1.6%)
CIE-LABlab(57.94, 50.89, -63.10)
CIE-LCHlch(57.94, 81.07, 308.89°)
OKLaboklab(65.89% 0.0986 -0.1788)
OKLCHoklch(65.89% 0.204 298.9)
XYZxyz(38.3940, 25.9012, 94.2247)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DFB #C3FB6D
analogous
#6D7CFB #A56DFB #EC6DFB
triadic
#A56DFB #FBA56D #6DFBA5
tetradic
#A56DFB #FB6D7C #C3FB6D #6DFBEC
square
#A56DFB #FB6D7C #C3FB6D #6DFBEC
split-complementary
#A56DFB #FBEC6D #7CFB6D
monochromatic
#5F06E7 #8031F9 #A56DFB #CAA9FD #EDE1FE

Accessibility & contrast

On white

3.40
#A56DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A56DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DFB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DFB#FFFFFF#000000##000000
##A56DFB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#278BFF
Deuteranopia (green-blind)
#3F8AF8
Tritanopia (blue-blind)
#928AAA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56dfb;
/* rgb */ color: rgb(165, 109, 251);
/* oklch */ color: oklch(65.9% 0.204 298.9);
Tailwind
colors: {
  custom: {
    50: '#c499fd',
    500: '#a56dfb',
    950: '#000000',
  },
}
SCSS
$custom: #a56dfb;
$custom-light: #c499fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a56dfb",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 263.662,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65894,
    "c": 0.20424,
    "h": 298.9
  },
  "luminance": 0.25902
}

Semantic roles & 50–950 ramp

primary
#A56DFB
secondary
#E6F5CF
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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