#A56BCB#A56BCB

#A56BCB is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.151 H 310.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A56BCB
RGBrgb(165, 107, 203)
HSLhsl(276, 48%, 61%)
HSVhsv(276, 47%, 80%)
CMYKcmyk(18.7%, 47.3%, 0%, 20.4%)
CIE-LABlab(54.89, 40.63, -41.04)
CIE-LCHlch(54.89, 57.75, 314.71°)
OKLaboklab(62.79% 0.098 -0.1144)
OKLCHoklch(62.79% 0.151 310.6)
XYZxyz(31.5523, 22.8271, 59.2322)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BCB #91CB6B
analogous
#756BCB #A56BCB #CB6BC1
triadic
#A56BCB #CBA56B #6BCBA5
tetradic
#A56BCB #CB756B #91CB6B #6BC1CB
square
#A56BCB #CB756B #91CB6B #6BC1CB
split-complementary
#A56BCB #C1CB6B #6BCB75
monochromatic
#67318B #8941B8 #A56BCB #C198DB #DCC6EB

Accessibility & contrast

On white

3.77
#A56BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A56BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BCB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BCB#FFFFFF#000000##000000
##A56BCB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CE
Deuteranopia (green-blind)
#6484C8
Tritanopia (blue-blind)
#A17A91
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a56bcb;
/* rgb */ color: rgb(165, 107, 203);
/* oklch */ color: oklch(62.8% 0.151 310.6);
Tailwind
colors: {
  custom: {
    50: '#c197db',
    500: '#a56bcb',
    950: '#000000',
  },
}
SCSS
$custom: #a56bcb;
$custom-light: #c197db;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bcb",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 203
  },
  "hsl": {
    "h": 276.25,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62788,
    "c": 0.15063,
    "h": 310.6
  },
  "luminance": 0.22827
}

Semantic roles & 50–950 ramp

primary
#A56BCB
secondary
#C5DBB7
accent
#BB2A64
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A56BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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