#A156BD#A156BD

#A156BD is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.4% C 0.168 H 316.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A156BD
RGBrgb(161, 86, 189)
HSLhsl(284, 44%, 54%)
HSVhsv(284, 54%, 74%)
CMYKcmyk(14.8%, 54.5%, 0%, 25.9%)
CIE-LABlab(49.38, 47.71, -41.73)
CIE-LCHlch(49.38, 63.38, 318.82°)
OKLaboklab(58.37% 0.1206 -0.1164)
OKLCHoklch(58.37% 0.168 316)
XYZxyz(27.2096, 17.9076, 50.1574)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156BD #72BD56
analogous
#6E56BD #A156BD #BD56A6
triadic
#A156BD #BDA156 #56BDA1
tetradic
#A156BD #BD6E56 #72BD56 #56A6BD
square
#A156BD #BD6E56 #72BD56 #56A6BD
split-complementary
#A156BD #A6BD56 #56BD6E
monochromatic
#5C2B6E #803C9A #A156BD #B982CE #D2AEDF

Accessibility & contrast

On white

4.58
#A156BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A156BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A156BD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156BD#FFFFFF#000000##000000
##A156BD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E71C0
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#A06681
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a156bd;
/* rgb */ color: rgb(161, 86, 189);
/* oklch */ color: oklch(58.4% 0.168 316.0);
Tailwind
colors: {
  custom: {
    50: '#bf89d1',
    500: '#a156bd',
    950: '#000000',
  },
}
SCSS
$custom: #a156bd;
$custom-light: #bf89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a156bd",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 283.689,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58372,
    "c": 0.16761,
    "h": 316
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#A156BD
secondary
#ADCDA1
accent
#D45477
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A156BD

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

Preview Lab → · Contrast checker → · Palette generator →

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