#B156CC#B156CC

#B156CC is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.2% C 0.190 H 317.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B156CC
RGBrgb(177, 86, 204)
HSLhsl(286, 54%, 57%)
HSVhsv(286, 58%, 80%)
CMYKcmyk(13.2%, 57.8%, 0%, 20%)
CIE-LABlab(52.25, 54.96, -45.70)
CIE-LCHlch(52.25, 71.48, 320.26°)
OKLaboklab(61.17% 0.141 -0.1275)
OKLCHoklch(61.17% 0.19 317.9)
XYZxyz(32.3568, 20.3636, 59.3412)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156CC #71CC56
analogous
#7656CC #B156CC #CC56AC
triadic
#B156CC #CCB156 #56CCB1
tetradic
#B156CC #CC7656 #71CC56 #56ACCC
square
#B156CC #CC7656 #71CC56 #56ACCC
split-complementary
#B156CC #ACCC56 #56CC76
monochromatic
#6C2781 #9435B0 #B156CC #C785DA #DCB4E8

Accessibility & contrast

On white

4.14
#B156CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B156CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156CC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156CC#FFFFFF#000000##000000
##B156CC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3977D0
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#B16989
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b156cc;
/* rgb */ color: rgb(177, 86, 204);
/* oklch */ color: oklch(61.2% 0.190 317.9);
Tailwind
colors: {
  custom: {
    50: '#cb8adc',
    500: '#b156cc',
    950: '#000000',
  },
}
SCSS
$custom: #b156cc;
$custom-light: #cb8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#b156cc",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 286.271,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.19013,
    "h": 317.9
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#B156CC
secondary
#B2D7A7
accent
#DD4B6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B156CC

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

Preview Lab → · Contrast checker → · Palette generator →

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