#B156DC#B156DC

#B156DC is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.1% C 0.206 H 313.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B156DC
RGBrgb(177, 86, 220)
HSLhsl(281, 66%, 60%)
HSVhsv(281, 61%, 86%)
CMYKcmyk(19.5%, 60.9%, 0%, 13.7%)
CIE-LABlab(53.14, 58.24, -53.39)
CIE-LCHlch(53.14, 79.01, 317.49°)
OKLaboklab(62.1% 0.1414 -0.1499)
OKLCHoklch(62.1% 0.206 313.3)
XYZxyz(34.3753, 21.1710, 69.9719)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156DC #81DC56
analogous
#6E56DC #B156DC #DC56C4
triadic
#B156DC #DCB156 #56DCB1
tetradic
#B156DC #DC6E56 #81DC56 #56C4DC
square
#B156DC #DC6E56 #81DC56 #56C4DC
split-complementary
#B156DC #C4DC56 #56DC6E
monochromatic
#712098 #972ACB #B156DC #C889E6 #E0BBF1

Accessibility & contrast

On white

4.01
#B156DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B156DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156DC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156DC#FFFFFF#000000##000000
##B156DC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#257AE0
Deuteranopia (green-blind)
#4F81D9
Tritanopia (blue-blind)
#AD6F91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b156dc;
/* rgb */ color: rgb(177, 86, 220);
/* oklch */ color: oklch(62.1% 0.206 313.3);
Tailwind
colors: {
  custom: {
    50: '#cc8ae7',
    500: '#b156dc',
    950: '#000000',
  },
}
SCSS
$custom: #b156dc;
$custom-light: #cc8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#b156dc",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 280.746,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.62102,
    "c": 0.2061,
    "h": 313.3
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#B156DC
secondary
#BEE1AD
accent
#E93F76
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B156DC

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

Preview Lab → · Contrast checker → · Palette generator →

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