#B156CE#B156CE

#B156CE is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.3% C 0.192 H 317.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B156CE
RGBrgb(177, 86, 206)
HSLhsl(286, 55%, 57%)
HSVhsv(286, 58%, 81%)
CMYKcmyk(14.1%, 58.3%, 0%, 19.2%)
CIE-LABlab(52.35, 55.36, -46.67)
CIE-LCHlch(52.35, 72.41, 319.87°)
OKLaboklab(61.28% 0.1411 -0.1303)
OKLCHoklch(61.28% 0.192 317.3)
XYZxyz(32.5982, 20.4601, 60.6126)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156CE #73CE56
analogous
#7556CE #B156CE #CE56AF
triadic
#B156CE #CEB156 #56CEB1
tetradic
#B156CE #CE7556 #73CE56 #56AFCE
square
#B156CE #CE7556 #73CE56 #56AFCE
split-complementary
#B156CE #AFCE56 #56CE75
monochromatic
#6D2683 #9434B3 #B156CE #C785DC #DDB5EA

Accessibility & contrast

On white

4.12
#B156CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B156CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156CE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156CE#FFFFFF#000000##000000
##B156CE1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3777D2
Deuteranopia (green-blind)
#5980CB
Tritanopia (blue-blind)
#B06A8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b156ce;
/* rgb */ color: rgb(177, 86, 206);
/* oklch */ color: oklch(61.3% 0.192 317.3);
Tailwind
colors: {
  custom: {
    50: '#cb8add',
    500: '#b156ce',
    950: '#000000',
  },
}
SCSS
$custom: #b156ce;
$custom-light: #cb8add;
$custom-dark: #000000;
JSON
{
  "hex": "#b156ce",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 285.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6128,
    "c": 0.1921,
    "h": 317.3
  },
  "luminance": 0.20459
}

Semantic roles & 50–950 ramp

primary
#B156CE
secondary
#B3D8A8
accent
#DE496D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B156CE

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

Preview Lab → · Contrast checker → · Palette generator →

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