#B156CB#B156CB

#B156CB is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.189 H 318.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B156CB
RGBrgb(177, 86, 203)
HSLhsl(287, 53%, 57%)
HSVhsv(287, 58%, 80%)
CMYKcmyk(12.8%, 57.6%, 0%, 20.4%)
CIE-LABlab(52.19, 54.76, -45.21)
CIE-LCHlch(52.19, 71.01, 320.46°)
OKLaboklab(61.11% 0.141 -0.1261)
OKLCHoklch(61.11% 0.189 318.2)
XYZxyz(32.2373, 20.3158, 58.7115)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156CB #70CB56
analogous
#7756CB #B156CB #CB56AA
triadic
#B156CB #CBB156 #56CBB1
tetradic
#B156CB #CB7756 #70CB56 #56AACB
square
#B156CB #CB7756 #70CB56 #56AACB
split-complementary
#B156CB #AACB56 #56CB77
monochromatic
#6C277F #9336AE #B156CB #C785D9 #DCB4E8

Accessibility & contrast

On white

4.15
#B156CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B156CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156CB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156CB#FFFFFF#000000##000000
##B156CB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CF
Deuteranopia (green-blind)
#5B7FC8
Tritanopia (blue-blind)
#B16988
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b156cb;
/* rgb */ color: rgb(177, 86, 203);
/* oklch */ color: oklch(61.1% 0.189 318.2);
Tailwind
colors: {
  custom: {
    50: '#cb8adb',
    500: '#b156cb',
    950: '#000000',
  },
}
SCSS
$custom: #b156cb;
$custom-light: #cb8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#b156cb",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 286.667,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61111,
    "c": 0.18914,
    "h": 318.2
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

primary
#B156CB
secondary
#B1D6A6
accent
#DC4B6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B156CB

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

Preview Lab → · Contrast checker → · Palette generator →

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