#A56BD7#A56BD7

#A56BD7 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.165 H 307.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A56BD7
RGBrgb(165, 107, 215)
HSLhsl(272, 57%, 63%)
HSVhsv(272, 50%, 84%)
CMYKcmyk(23.3%, 50.2%, 0%, 15.7%)
CIE-LABlab(55.50, 43.35, -46.88)
CIE-LCHlch(55.50, 63.85, 312.76°)
OKLaboklab(63.44% 0.0994 -0.1313)
OKLCHoklch(63.44% 0.165 307.1)
XYZxyz(33.0380, 23.4214, 67.0571)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BD7 #9DD76B
analogous
#6F6BD7 #A56BD7 #D76BD3
triadic
#A56BD7 #D7A56B #6BD7A5
tetradic
#A56BD7 #D76F6B #9DD76B #6BD3D7
square
#A56BD7 #D76F6B #9DD76B #6BD3D7
split-complementary
#A56BD7 #D3D76B #6BD76F
monochromatic
#682A9D #883BCA #A56BD7 #C29BE4 #E0CBF1

Accessibility & contrast

On white

3.69
#A56BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#A56BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BD7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BD7#FFFFFF#000000##000000
##A56BD71.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DB
Deuteranopia (green-blind)
#5D86D4
Tritanopia (blue-blind)
#9E7E97
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a56bd7;
/* rgb */ color: rgb(165, 107, 215);
/* oklch */ color: oklch(63.4% 0.165 307.1);
Tailwind
colors: {
  custom: {
    50: '#c297e4',
    500: '#a56bd7',
    950: '#000000',
  },
}
SCSS
$custom: #a56bd7;
$custom-light: #c297e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bd7",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 215
  },
  "hsl": {
    "h": 272.222,
    "s": 57.447,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63441,
    "c": 0.16474,
    "h": 307.1
  },
  "luminance": 0.23421
}

Semantic roles & 50–950 ramp

primary
#A56BD7
secondary
#CDE2BC
accent
#C5206D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #A56BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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