#B156BC#B156BC

#B156BC is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.3% C 0.175 H 323.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B156BC
RGBrgb(177, 86, 188)
HSLhsl(294, 43%, 54%)
HSVhsv(294, 54%, 74%)
CMYKcmyk(5.9%, 54.3%, 0%, 26.3%)
CIE-LABlab(51.42, 51.83, -37.80)
CIE-LCHlch(51.42, 64.15, 323.90°)
OKLaboklab(60.3% 0.1398 -0.1046)
OKLCHoklch(60.3% 0.175 323.2)
XYZxyz(30.5355, 19.6350, 49.7487)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156BC #61BC56
analogous
#7E56BC #B156BC #BC5694
triadic
#B156BC #BCB156 #56BCB1
tetradic
#B156BC #BC7E56 #61BC56 #5694BC
square
#B156BC #BC7E56 #61BC56 #5694BC
split-complementary
#B156BC #94BC56 #56BC7E
monochromatic
#652B6D #8E3C98 #B156BC #C582CD #D9AEDF

Accessibility & contrast

On white

4.26
#B156BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B156BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156BC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156BC#FFFFFF#000000##000000
##B156BC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4674BF
Deuteranopia (green-blind)
#647EB9
Tritanopia (blue-blind)
#B46481
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b156bc;
/* rgb */ color: rgb(177, 86, 188);
/* oklch */ color: oklch(60.3% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#cb8ad0',
    500: '#b156bc',
    950: '#000000',
  },
}
SCSS
$custom: #b156bc;
$custom-light: #cb8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b156bc",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 293.529,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60296,
    "c": 0.17457,
    "h": 323.2
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#B156BC
secondary
#A6CDA1
accent
#D35562
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B156BC

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

Preview Lab → · Contrast checker → · Palette generator →

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