#A56BDA#A56BDA

#A56BDA is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.6% C 0.168 H 306.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A56BDA
RGBrgb(165, 107, 218)
HSLhsl(271, 60%, 64%)
HSVhsv(271, 51%, 85%)
CMYKcmyk(24.3%, 50.9%, 0%, 14.5%)
CIE-LABlab(55.66, 44.04, -48.32)
CIE-LCHlch(55.66, 65.38, 312.35°)
OKLaboklab(63.61% 0.0997 -0.1356)
OKLCHoklch(63.61% 0.168 306.3)
XYZxyz(33.4270, 23.5770, 69.1059)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BDA #A0DA6B
analogous
#6D6BDA #A56BDA #DA6BD8
triadic
#A56BDA #DAA56B #6BDAA5
tetradic
#A56BDA #DA6D6B #A0DA6B #6BD8DA
square
#A56BDA #DA6D6B #A0DA6B #6BD8DA
split-complementary
#A56BDA #D8DA6B #6BDA6D
monochromatic
#6829A2 #873ACE #A56BDA #C39CE6 #E1CDF2

Accessibility & contrast

On white

3.67
#A56BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A56BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BDA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BDA#FFFFFF#000000##000000
##A56BDA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DE
Deuteranopia (green-blind)
#5B86D7
Tritanopia (blue-blind)
#9D7F99
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a56bda;
/* rgb */ color: rgb(165, 107, 218);
/* oklch */ color: oklch(63.6% 0.168 306.3);
Tailwind
colors: {
  custom: {
    50: '#c297e6',
    500: '#a56bda',
    950: '#000000',
  },
}
SCSS
$custom: #a56bda;
$custom-light: #c297e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bda",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 218
  },
  "hsl": {
    "h": 271.351,
    "s": 60,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63609,
    "c": 0.16828,
    "h": 306.3
  },
  "luminance": 0.23577
}

Semantic roles & 50–950 ramp

primary
#A56BDA
secondary
#D0E4BD
accent
#C81E6F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A56BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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