#B156CF#B156CF

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

Color values

HEX#B156CF
RGBrgb(177, 86, 207)
HSLhsl(285, 56%, 57%)
HSVhsv(285, 58%, 81%)
CMYKcmyk(14.5%, 58.5%, 0%, 18.8%)
CIE-LABlab(52.41, 55.56, -47.16)
CIE-LCHlch(52.41, 72.88, 319.68°)
OKLaboklab(61.34% 0.1412 -0.1317)
OKLCHoklch(61.34% 0.193 317)
XYZxyz(32.7201, 20.5089, 61.2544)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156CF #74CF56
analogous
#7556CF #B156CF #CF56B0
triadic
#B156CF #CFB156 #56CFB1
tetradic
#B156CF #CF7556 #74CF56 #56B0CF
square
#B156CF #CF7556 #74CF56 #56B0CF
split-complementary
#B156CF #B0CF56 #56CF75
monochromatic
#6D2685 #9433B5 #B156CF #C786DD #DDB5EA

Accessibility & contrast

On white

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

On black

5.10
#B156CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156CF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156CF#FFFFFF#000000##000000
##B156CF1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#B06A8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b156cf;
/* rgb */ color: rgb(177, 86, 207);
/* oklch */ color: oklch(61.3% 0.193 317.0);
Tailwind
colors: {
  custom: {
    50: '#cb8ade',
    500: '#b156cf',
    950: '#000000',
  },
}
SCSS
$custom: #b156cf;
$custom-light: #cb8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#b156cf",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 285.124,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61338,
    "c": 0.1931,
    "h": 317
  },
  "luminance": 0.20508
}

Semantic roles & 50–950 ramp

primary
#B156CF
secondary
#B4D9A8
accent
#DF496E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B156CF

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

Preview Lab → · Contrast checker → · Palette generator →

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