#A56DFA#A56DFA

#A56DFA is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 65.8% C 0.203 H 299.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A56DFA
RGBrgb(165, 109, 250)
HSLhsl(264, 93%, 70%)
HSVhsv(264, 56%, 98%)
CMYKcmyk(34%, 56.4%, 0%, 2%)
CIE-LABlab(57.88, 50.64, -62.64)
CIE-LCHlch(57.88, 80.55, 308.95°)
OKLaboklab(65.83% 0.0986 -0.1775)
OKLCHoklch(65.83% 0.203 299.1)
XYZxyz(38.2368, 25.8384, 93.3968)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DFA #C2FA6D
analogous
#6D7BFA #A56DFA #EC6DFA
triadic
#A56DFA #FAA56D #6DFAA5
tetradic
#A56DFA #FA6D7B #C2FA6D #6DFAEC
square
#A56DFA #FA6D7B #C2FA6D #6DFAEC
split-complementary
#A56DFA #FAEC6D #7BFA6D
monochromatic
#6008E5 #8132F8 #A56DFA #C9A8FC #EDE1FE

Accessibility & contrast

On white

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

On black

6.17
#A56DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DFA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DFA#FFFFFF#000000##000000
##A56DFA1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#298BFF
Deuteranopia (green-blind)
#408AF7
Tritanopia (blue-blind)
#938AA9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a56dfa;
/* rgb */ color: rgb(165, 109, 250);
/* oklch */ color: oklch(65.8% 0.203 299.1);
Tailwind
colors: {
  custom: {
    50: '#c499fd',
    500: '#a56dfa',
    950: '#000000',
  },
}
SCSS
$custom: #a56dfa;
$custom-light: #c499fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a56dfa",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 263.83,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65831,
    "c": 0.20307,
    "h": 299.1
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#A56DFA
secondary
#E5F5CE
accent
#E6008A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A56DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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