#A56DEB#A56DEB

#A56DEB is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.9% C 0.185 H 302.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A56DEB
RGBrgb(165, 109, 235)
HSLhsl(267, 76%, 67%)
HSVhsv(267, 54%, 92%)
CMYKcmyk(29.8%, 53.6%, 0%, 7.8%)
CIE-LABlab(57.01, 46.98, -55.71)
CIE-LCHlch(57.01, 72.88, 310.14°)
OKLaboklab(64.91% 0.0982 -0.1572)
OKLCHoklch(64.91% 0.185 302)
XYZxyz(35.9776, 24.9347, 81.4986)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56DEB #B3EB6D
analogous
#6D74EB #A56DEB #E46DEB
triadic
#A56DEB #EBA56D #6DEBA5
tetradic
#A56DEB #EB6D74 #B3EB6D #6DEBE4
square
#A56DEB #EB6D74 #B3EB6D #6DEBE4
split-complementary
#A56DEB #EBE46D #74EB6D
monochromatic
#651BC3 #8437E4 #A56DEB #C6A3F2 #E7D9FA

Accessibility & contrast

On white

3.51
#A56DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#A56DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56DEB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56DEB#FFFFFF#000000##000000
##A56DEB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88EF
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#9885A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a56deb;
/* rgb */ color: rgb(165, 109, 235);
/* oklch */ color: oklch(64.9% 0.185 302.0);
Tailwind
colors: {
  custom: {
    50: '#c398f2',
    500: '#a56deb',
    950: '#000000',
  },
}
SCSS
$custom: #a56deb;
$custom-light: #c398f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a56deb",
  "rgb": {
    "r": 165,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 266.667,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64909,
    "c": 0.18535,
    "h": 302
  },
  "luminance": 0.24935
}

Semantic roles & 50–950 ramp

primary
#A56DEB
secondary
#DCEEC6
accent
#D80D7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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