#A56FD6#A56FD6

#A56FD6 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.0% C 0.157 H 306.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A56FD6
RGBrgb(165, 111, 214)
HSLhsl(271, 56%, 64%)
HSVhsv(271, 48%, 84%)
CMYKcmyk(22.9%, 48.1%, 0%, 16.1%)
CIE-LABlab(56.31, 40.93, -45.03)
CIE-LCHlch(56.31, 60.85, 312.26°)
OKLaboklab(64.02% 0.0939 -0.126)
OKLCHoklch(64.02% 0.157 306.7)
XYZxyz(33.3366, 24.2236, 66.5247)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FD6 #A0D66F
analogous
#716FD6 #A56FD6 #D66FD4
triadic
#A56FD6 #D6A56F #6FD6A5
tetradic
#A56FD6 #D6716F #A0D66F #6FD4D6
square
#A56FD6 #D6716F #A0D66F #6FD4D6
split-complementary
#A56FD6 #D4D66F #6FD671
monochromatic
#682D9E #873FC8 #A56FD6 #C39FE4 #E1CEF1

Accessibility & contrast

On white

3.59
#A56FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#A56FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FD6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FD6#FFFFFF#000000##000000
##A56FD61.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385DA
Deuteranopia (green-blind)
#6287D3
Tritanopia (blue-blind)
#9E8198
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a56fd6;
/* rgb */ color: rgb(165, 111, 214);
/* oklch */ color: oklch(64.0% 0.157 306.7);
Tailwind
colors: {
  custom: {
    50: '#c299e3',
    500: '#a56fd6',
    950: '#000000',
  },
}
SCSS
$custom: #a56fd6;
$custom-light: #c299e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a56fd6",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 214
  },
  "hsl": {
    "h": 271.456,
    "s": 55.676,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64024,
    "c": 0.15713,
    "h": 306.7
  },
  "luminance": 0.24223
}

Semantic roles & 50–950 ramp

primary
#A56FD6
secondary
#D0E3BE
accent
#C3226F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A56FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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