#B156CD#B156CD

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

Color values

HEX#B156CD
RGBrgb(177, 86, 205)
HSLhsl(286, 54%, 57%)
HSVhsv(286, 58%, 80%)
CMYKcmyk(13.7%, 58%, 0%, 19.6%)
CIE-LABlab(52.30, 55.16, -46.19)
CIE-LCHlch(52.30, 71.94, 320.06°)
OKLaboklab(61.22% 0.1411 -0.1289)
OKLCHoklch(61.22% 0.191 317.6)
XYZxyz(32.4771, 20.4117, 59.9749)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156CD #72CD56
analogous
#7556CD #B156CD #CD56AE
triadic
#B156CD #CDB156 #56CDB1
tetradic
#B156CD #CD7556 #72CD56 #56AECD
square
#B156CD #CD7556 #72CD56 #56AECD
split-complementary
#B156CD #AECD56 #56CD75
monochromatic
#6D2682 #9434B1 #B156CD #C785DB #DDB4E9

Accessibility & contrast

On white

4.13
#B156CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B156CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156CD#FFFFFF#000000##000000
##B156CD1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#B06989
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b156cd;
/* rgb */ color: rgb(177, 86, 205);
/* oklch */ color: oklch(61.2% 0.191 317.6);
Tailwind
colors: {
  custom: {
    50: '#cb8add',
    500: '#b156cd',
    950: '#000000',
  },
}
SCSS
$custom: #b156cd;
$custom-light: #cb8add;
$custom-dark: #000000;
JSON
{
  "hex": "#b156cd",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 285.882,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.19112,
    "h": 317.6
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

primary
#B156CD
secondary
#B3D8A7
accent
#DE4A6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B156CD

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

Preview Lab → · Contrast checker → · Palette generator →

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