#A156BC#A156BC

#A156BC is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.3% C 0.167 H 316.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A156BC
RGBrgb(161, 86, 188)
HSLhsl(284, 43%, 54%)
HSVhsv(284, 54%, 74%)
CMYKcmyk(14.4%, 54.3%, 0%, 26.3%)
CIE-LABlab(49.33, 47.50, -41.23)
CIE-LCHlch(49.33, 62.90, 319.04°)
OKLaboklab(58.32% 0.1206 -0.1149)
OKLCHoklch(58.32% 0.167 316.4)
XYZxyz(27.1015, 17.8644, 49.5878)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156BC #71BC56
analogous
#6E56BC #A156BC #BC56A4
triadic
#A156BC #BCA156 #56BCA1
tetradic
#A156BC #BC6E56 #71BC56 #56A4BC
square
#A156BC #BC6E56 #71BC56 #56A4BC
split-complementary
#A156BC #A4BC56 #56BC6E
monochromatic
#5B2B6D #803C98 #A156BC #B982CD #D2AEDF

Accessibility & contrast

On white

4.59
#A156BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A156BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A156BC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156BC#FFFFFF#000000##FFFFFF
##A156BC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a156bc;
/* rgb */ color: rgb(161, 86, 188);
/* oklch */ color: oklch(58.3% 0.167 316.4);
Tailwind
colors: {
  custom: {
    50: '#bf89d0',
    500: '#a156bc',
    950: '#000000',
  },
}
SCSS
$custom: #a156bc;
$custom-light: #bf89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a156bc",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 284.118,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58316,
    "c": 0.16656,
    "h": 316.4
  },
  "luminance": 0.17863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A156BC

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

Preview Lab → · Contrast checker → · Palette generator →

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