#A56DEF#A56DEF

#A56DEF is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.1% C 0.190 H 301.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A56DEF
RGBrgb(165, 109, 239)
HSLhsl(266, 80%, 68%)
HSVhsv(266, 54%, 94%)
CMYKcmyk(31%, 54.4%, 0%, 6.3%)
CIE-LABlab(57.24, 47.95, -57.57)
CIE-LCHlch(57.24, 74.93, 309.79°)
OKLaboklab(65.15% 0.0984 -0.1626)
OKLCHoklch(65.15% 0.19 301.2)
XYZxyz(36.5620, 25.1685, 84.5764)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DEF #B7EF6D
analogous
#6D76EF #A56DEF #E66DEF
triadic
#A56DEF #EFA56D #6DEFA5
tetradic
#A56DEF #EF6D76 #B7EF6D #6DEFE6
square
#A56DEF #EF6D76 #B7EF6D #6DEFE6
split-complementary
#A56DEF #EFE66D #76EF6D
monochromatic
#6416CB #8336E9 #A56DEF #C7A4F5 #E9DBFB

Accessibility & contrast

On white

3.48
#A56DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A56DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DEF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DEF#FFFFFF#000000##000000
##A56DEF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3989F3
Deuteranopia (green-blind)
#4C89EC
Tritanopia (blue-blind)
#9686A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a56def;
/* rgb */ color: rgb(165, 109, 239);
/* oklch */ color: oklch(65.1% 0.190 301.2);
Tailwind
colors: {
  custom: {
    50: '#c399f5',
    500: '#a56def',
    950: '#000000',
  },
}
SCSS
$custom: #a56def;
$custom-light: #c399f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a56def",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 265.846,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6515,
    "c": 0.19009,
    "h": 301.2
  },
  "luminance": 0.25169
}

Semantic roles & 50–950 ramp

primary
#A56DEF
secondary
#DFF0C8
accent
#DD0981
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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