#A156BB#A156BB

#A156BB is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.3% C 0.165 H 316.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A156BB
RGBrgb(161, 86, 187)
HSLhsl(285, 43%, 54%)
HSVhsv(285, 54%, 73%)
CMYKcmyk(13.9%, 54%, 0%, 26.7%)
CIE-LABlab(49.28, 47.29, -40.74)
CIE-LCHlch(49.28, 62.41, 319.25°)
OKLaboklab(58.26% 0.1205 -0.1135)
OKLCHoklch(58.26% 0.165 316.7)
XYZxyz(26.9941, 17.8214, 49.0220)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A156BB #70BB56
analogous
#6E56BB #A156BB #BB56A2
triadic
#A156BB #BBA156 #56BBA1
tetradic
#A156BB #BB6E56 #70BB56 #56A2BB
square
#A156BB #BB6E56 #70BB56 #56A2BB
split-complementary
#A156BB #A2BB56 #56BB6E
monochromatic
#5B2B6B #803D97 #A156BB #B982CD #D2ADDE

Accessibility & contrast

On white

4.60
#A156BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A156BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A156BB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A156BB#FFFFFF#000000##FFFFFF
##A156BB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#A06680
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a156bb;
/* rgb */ color: rgb(161, 86, 187);
/* oklch */ color: oklch(58.3% 0.165 316.7);
Tailwind
colors: {
  custom: {
    50: '#bf89d0',
    500: '#a156bb',
    950: '#000000',
  },
}
SCSS
$custom: #a156bb;
$custom-light: #bf89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a156bb",
  "rgb": {
    "r": 161,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 284.554,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.16549,
    "h": 316.7
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#A156BB
secondary
#ACCCA1
accent
#D25576
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A156BB

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

Preview Lab → · Contrast checker → · Palette generator →

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