#A56FDB#A56FDB

#A56FDB is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.3% C 0.163 H 305.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A56FDB
RGBrgb(165, 111, 219)
HSLhsl(270, 60%, 65%)
HSVhsv(270, 49%, 86%)
CMYKcmyk(24.7%, 49.3%, 0%, 14.1%)
CIE-LABlab(56.57, 42.09, -47.45)
CIE-LCHlch(56.57, 63.43, 311.58°)
OKLaboklab(64.3% 0.0944 -0.133)
OKLCHoklch(64.3% 0.163 305.4)
XYZxyz(33.9850, 24.4829, 69.9394)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56FDB #A5DB6F
analogous
#6F6FDB #A56FDB #DB6FDB
triadic
#A56FDB #DBA56F #6FDBA5
tetradic
#A56FDB #DB6F6F #A5DB6F #6FDBDB
square
#A56FDB #DB6F6F #A5DB6F #6FDBDB
split-complementary
#A56FDB #DBDB6F #6FDB6F
monochromatic
#682AA6 #863ECF #A56FDB #C4A0E7 #E2D1F3

Accessibility & contrast

On white

3.56
#A56FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#A56FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56FDB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56FDB#FFFFFF#000000##000000
##A56FDB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DF
Deuteranopia (green-blind)
#5F88D8
Tritanopia (blue-blind)
#9C829B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56fdb;
/* rgb */ color: rgb(165, 111, 219);
/* oklch */ color: oklch(64.3% 0.163 305.4);
Tailwind
colors: {
  custom: {
    50: '#c29ae6',
    500: '#a56fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a56fdb;
$custom-light: #c29ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#a56fdb",
  "rgb": {
    "r": 165,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 60,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64299,
    "c": 0.16313,
    "h": 305.4
  },
  "luminance": 0.24483
}

Semantic roles & 50–950 ramp

primary
#A56FDB
secondary
#D3E5C0
accent
#C81E73
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A56FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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