#A56BDD#A56BDD

#A56BDD is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.8% C 0.172 H 305.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A56BDD
RGBrgb(165, 107, 221)
HSLhsl(271, 63%, 64%)
HSVhsv(271, 52%, 87%)
CMYKcmyk(25.3%, 51.6%, 0%, 13.3%)
CIE-LABlab(55.82, 44.74, -49.76)
CIE-LCHlch(55.82, 66.92, 311.96°)
OKLaboklab(63.78% 0.1 -0.1398)
OKLCHoklch(63.78% 0.172 305.6)
XYZxyz(33.8231, 23.7354, 71.1921)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BDD #A3DD6B
analogous
#6C6BDD #A56BDD #DD6BDC
triadic
#A56BDD #DDA56B #6BDDA5
tetradic
#A56BDD #DD6C6B #A3DD6B #6BDCDD
square
#A56BDD #DD6C6B #A3DD6B #6BDCDD
split-complementary
#A56BDD #DCDD6B #6BDD6C
monochromatic
#6826A7 #8739D2 #A56BDD #C39DE8 #E2CFF4

Accessibility & contrast

On white

3.65
#A56BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A56BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BDD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BDD#FFFFFF#000000##000000
##A56BDD1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E1
Deuteranopia (green-blind)
#5986DA
Tritanopia (blue-blind)
#9C809A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a56bdd;
/* rgb */ color: rgb(165, 107, 221);
/* oklch */ color: oklch(63.8% 0.172 305.6);
Tailwind
colors: {
  custom: {
    50: '#c297e8',
    500: '#a56bdd',
    950: '#000000',
  },
}
SCSS
$custom: #a56bdd;
$custom-light: #c297e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bdd",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 270.526,
    "s": 62.637,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6378,
    "c": 0.17182,
    "h": 305.6
  },
  "luminance": 0.23735
}

Semantic roles & 50–950 ramp

primary
#A56BDD
secondary
#D2E6BE
accent
#CA1B71
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A56BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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