#B156BA#B156BA

#B156BA is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.2% C 0.173 H 323.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B156BA
RGBrgb(177, 86, 186)
HSLhsl(295, 42%, 53%)
HSVhsv(295, 54%, 73%)
CMYKcmyk(4.8%, 53.8%, 0%, 27.1%)
CIE-LABlab(51.32, 51.45, -36.79)
CIE-LCHlch(51.32, 63.26, 324.43°)
OKLaboklab(60.19% 0.1396 -0.1017)
OKLCHoklch(60.19% 0.173 323.9)
XYZxyz(30.3214, 19.5494, 48.6211)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156BA #5FBA56
analogous
#7F56BA #B156BA #BA5691
triadic
#B156BA #BAB156 #56BAB1
tetradic
#B156BA #BA7F56 #5FBA56 #5691BA
square
#B156BA #BA7F56 #5FBA56 #5691BA
split-complementary
#B156BA #91BA56 #56BA7F
monochromatic
#652B6A #8E3D96 #B156BA #C581CC #D9ADDD

Accessibility & contrast

On white

4.28
#B156BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B156BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156BA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156BA#FFFFFF#000000##000000
##B156BA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4873BD
Deuteranopia (green-blind)
#657EB7
Tritanopia (blue-blind)
#B46380
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b156ba;
/* rgb */ color: rgb(177, 86, 186);
/* oklch */ color: oklch(60.2% 0.173 323.9);
Tailwind
colors: {
  custom: {
    50: '#cb8acf',
    500: '#b156ba',
    950: '#000000',
  },
}
SCSS
$custom: #b156ba;
$custom-light: #cb8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#b156ba",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 294.6,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60192,
    "c": 0.17267,
    "h": 323.9
  },
  "luminance": 0.19548
}

Semantic roles & 50–950 ramp

primary
#B156BA
secondary
#A4CBA0
accent
#D25661
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B156BA

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

Preview Lab → · Contrast checker → · Palette generator →

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