#A56FD2#A56FD2

#A56FD2 is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.8% C 0.152 H 307.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A56FD2
RGBrgb(165, 111, 210)
HSLhsl(273, 52%, 63%)
HSVhsv(273, 47%, 82%)
CMYKcmyk(21.4%, 47.1%, 0%, 17.6%)
CIE-LABlab(56.11, 40.01, -43.09)
CIE-LCHlch(56.11, 58.80, 312.87°)
OKLaboklab(63.81% 0.0934 -0.1203)
OKLCHoklch(63.81% 0.152 307.8)
XYZxyz(32.8321, 24.0217, 63.8673)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FD2 #9CD26F
analogous
#736FD2 #A56FD2 #D26FCE
triadic
#A56FD2 #D2A56F #6FD2A5
tetradic
#A56FD2 #D2736F #9CD26F #6FCED2
square
#A56FD2 #D2736F #9CD26F #6FCED2
split-complementary
#A56FD2 #CED26F #6FD273
monochromatic
#682F97 #8840C3 #A56FD2 #C29EE1 #DFCCEF

Accessibility & contrast

On white

3.62
#A56FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#A56FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FD2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FD2#FFFFFF#000000##000000
##A56FD21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5684D5
Deuteranopia (green-blind)
#6487CF
Tritanopia (blue-blind)
#9F7F97
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a56fd2;
/* rgb */ color: rgb(165, 111, 210);
/* oklch */ color: oklch(63.8% 0.152 307.8);
Tailwind
colors: {
  custom: {
    50: '#c299e0',
    500: '#a56fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a56fd2;
$custom-light: #c299e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a56fd2",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 272.727,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63808,
    "c": 0.15232,
    "h": 307.8
  },
  "luminance": 0.24021
}

Semantic roles & 50–950 ramp

primary
#A56FD2
secondary
#CDE0BD
accent
#C0266C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A56FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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