#B156C8#B156C8

#B156C8 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.9% C 0.186 H 319.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B156C8
RGBrgb(177, 86, 200)
HSLhsl(288, 51%, 56%)
HSVhsv(288, 57%, 78%)
CMYKcmyk(11.5%, 57%, 0%, 21.6%)
CIE-LABlab(52.03, 54.16, -43.75)
CIE-LCHlch(52.03, 69.62, 321.07°)
OKLaboklab(60.94% 0.1408 -0.1218)
OKLCHoklch(60.94% 0.186 319.1)
XYZxyz(31.8832, 20.1741, 56.8469)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156C8 #6DC856
analogous
#7856C8 #B156C8 #C856A6
triadic
#B156C8 #C8B156 #56C8B1
tetradic
#B156C8 #C87856 #6DC856 #56A6C8
square
#B156C8 #C87856 #6DC856 #56A6C8
split-complementary
#B156C8 #A6C856 #56C878
monochromatic
#6B287B #9337AA #B156C8 #C684D7 #DCB2E6

Accessibility & contrast

On white

4.17
#B156C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B156C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156C8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156C8#FFFFFF#000000##000000
##B156C81.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#B16887
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b156c8;
/* rgb */ color: rgb(177, 86, 200);
/* oklch */ color: oklch(60.9% 0.186 319.1);
Tailwind
colors: {
  custom: {
    50: '#cb8ad9',
    500: '#b156c8',
    950: '#000000',
  },
}
SCSS
$custom: #b156c8;
$custom-light: #cb8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#b156c8",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 287.895,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.18619,
    "h": 319.1
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#B156C8
secondary
#AFD4A5
accent
#DA4D6A
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B156C8

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

Preview Lab → · Contrast checker → · Palette generator →

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