#B156BD#B156BD

#B156BD is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.3% C 0.176 H 322.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B156BD
RGBrgb(177, 86, 189)
HSLhsl(293, 44%, 54%)
HSVhsv(293, 54%, 74%)
CMYKcmyk(6.3%, 54.5%, 0%, 25.9%)
CIE-LABlab(51.47, 52.02, -38.30)
CIE-LCHlch(51.47, 64.60, 323.64°)
OKLaboklab(60.35% 0.1399 -0.106)
OKLCHoklch(60.35% 0.176 322.8)
XYZxyz(30.6436, 19.6783, 50.3184)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156BD #62BD56
analogous
#7E56BD #B156BD #BD5696
triadic
#B156BD #BDB156 #56BDB1
tetradic
#B156BD #BD7E56 #62BD56 #5696BD
square
#B156BD #BD7E56 #62BD56 #5696BD
split-complementary
#B156BD #96BD56 #56BD7E
monochromatic
#662B6E #8F3C9A #B156BD #C582CE #DAAEDF

Accessibility & contrast

On white

4.25
#B156BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B156BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156BD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156BD#FFFFFF#000000##000000
##B156BD1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4674C0
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#B46481
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b156bd;
/* rgb */ color: rgb(177, 86, 189);
/* oklch */ color: oklch(60.3% 0.176 322.8);
Tailwind
colors: {
  custom: {
    50: '#cb8ad1',
    500: '#b156bd',
    950: '#000000',
  },
}
SCSS
$custom: #b156bd;
$custom-light: #cb8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b156bd",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 293.01,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60349,
    "c": 0.17553,
    "h": 322.8
  },
  "luminance": 0.19677
}

Semantic roles & 50–950 ramp

primary
#B156BD
secondary
#A7CDA1
accent
#D45463
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B156BD

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

Preview Lab → · Contrast checker → · Palette generator →

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