#A56BDB#A56BDB

#A56BDB is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.7% C 0.169 H 306.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A56BDB
RGBrgb(165, 107, 219)
HSLhsl(271, 61%, 64%)
HSVhsv(271, 51%, 86%)
CMYKcmyk(24.7%, 51.1%, 0%, 14.1%)
CIE-LABlab(55.71, 44.28, -48.80)
CIE-LCHlch(55.71, 65.89, 312.22°)
OKLaboklab(63.67% 0.0998 -0.137)
OKLCHoklch(63.67% 0.169 306.1)
XYZxyz(33.5583, 23.6295, 69.7971)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BDB #A1DB6B
analogous
#6D6BDB #A56BDB #DB6BD9
triadic
#A56BDB #DBA56B #6BDBA5
tetradic
#A56BDB #DB6D6B #A1DB6B #6BD9DB
square
#A56BDB #DB6D6B #A1DB6B #6BD9DB
split-complementary
#A56BDB #D9DB6B #6BDB6D
monochromatic
#6828A4 #873ACF #A56BDB #C39CE7 #E1CDF3

Accessibility & contrast

On white

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

On black

5.73
#A56BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BDB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BDB#FFFFFF#000000##000000
##A56BDB1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984DF
Deuteranopia (green-blind)
#5A86D8
Tritanopia (blue-blind)
#9C7F99
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a56bdb;
/* rgb */ color: rgb(165, 107, 219);
/* oklch */ color: oklch(63.7% 0.169 306.1);
Tailwind
colors: {
  custom: {
    50: '#c297e7',
    500: '#a56bdb',
    950: '#000000',
  },
}
SCSS
$custom: #a56bdb;
$custom-light: #c297e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bdb",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 271.071,
    "s": 60.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63666,
    "c": 0.16946,
    "h": 306.1
  },
  "luminance": 0.23629
}

Semantic roles & 50–950 ramp

primary
#A56BDB
secondary
#D0E5BD
accent
#C91D70
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A56BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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