#B156DA#B156DA

#B156DA is a mid, highly saturated purple. Relative luminance 0.211; OKLCH L 62.0% C 0.204 H 313.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B156DA
RGBrgb(177, 86, 218)
HSLhsl(281, 64%, 60%)
HSVhsv(281, 61%, 85%)
CMYKcmyk(18.8%, 60.6%, 0%, 14.5%)
CIE-LABlab(53.02, 57.82, -52.44)
CIE-LCHlch(53.02, 78.06, 317.79°)
OKLaboklab(61.98% 0.1414 -0.1472)
OKLCHoklch(61.98% 0.204 313.9)
XYZxyz(34.1120, 21.0657, 68.5852)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156DA #7FDA56
analogous
#6F56DA #B156DA #DA56C1
triadic
#B156DA #DAB156 #56DAB1
tetradic
#B156DA #DA6F56 #7FDA56 #56C1DA
square
#B156DA #DA6F56 #7FDA56 #56C1DA
split-complementary
#B156DA #C1DA56 #56DA6F
monochromatic
#712195 #972CC7 #B156DA #C888E5 #DFBAF0

Accessibility & contrast

On white

4.03
#B156DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B156DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156DA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156DA#FFFFFF#000000##000000
##B156DA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADE
Deuteranopia (green-blind)
#5181D7
Tritanopia (blue-blind)
#AD6E90
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b156da;
/* rgb */ color: rgb(177, 86, 218);
/* oklch */ color: oklch(62.0% 0.204 313.9);
Tailwind
colors: {
  custom: {
    50: '#cc8ae6',
    500: '#b156da',
    950: '#000000',
  },
}
SCSS
$custom: #b156da;
$custom-light: #cc8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b156da",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 281.364,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61982,
    "c": 0.20409,
    "h": 313.9
  },
  "luminance": 0.21065
}

Semantic roles & 50–950 ramp

primary
#B156DA
secondary
#BCE0AC
accent
#E74174
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B156DA

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

Preview Lab → · Contrast checker → · Palette generator →

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