#B156BF#B156BF

#B156BF is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.5% C 0.177 H 322.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B156BF
RGBrgb(177, 86, 191)
HSLhsl(292, 45%, 54%)
HSVhsv(292, 55%, 75%)
CMYKcmyk(7.3%, 55%, 0%, 25.1%)
CIE-LABlab(51.57, 52.41, -39.30)
CIE-LCHlch(51.57, 65.50, 323.14°)
OKLaboklab(60.45% 0.1401 -0.1089)
OKLCHoklch(60.45% 0.177 322.1)
XYZxyz(30.8622, 19.7657, 51.4696)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156BF #64BF56
analogous
#7D56BF #B156BF #BF5699
triadic
#B156BF #BFB156 #56BFB1
tetradic
#B156BF #BF7D56 #64BF56 #5699BF
square
#B156BF #BF7D56 #64BF56 #5699BF
split-complementary
#B156BF #99BF56 #56BF7D
monochromatic
#672A70 #903B9D #B156BF #C582D0 #DAAFE1

Accessibility & contrast

On white

4.24
#B156BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B156BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156BF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156BF#FFFFFF#000000##000000
##B156BF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#B36582
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b156bf;
/* rgb */ color: rgb(177, 86, 191);
/* oklch */ color: oklch(60.5% 0.177 322.1);
Tailwind
colors: {
  custom: {
    50: '#cb8ad3',
    500: '#b156bf',
    950: '#000000',
  },
}
SCSS
$custom: #b156bf;
$custom-light: #cb8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b156bf",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 292,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60454,
    "c": 0.17744,
    "h": 322.1
  },
  "luminance": 0.19764
}

Semantic roles & 50–950 ramp

primary
#B156BF
secondary
#A8CFA2
accent
#D55364
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B156BF

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

Preview Lab → · Contrast checker → · Palette generator →

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