#B956BC#B956BC

#B956BC is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.3% C 0.179 H 326.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B956BC
RGBrgb(185, 86, 188)
HSLhsl(298, 43%, 54%)
HSVhsv(298, 54%, 74%)
CMYKcmyk(1.6%, 54.3%, 0%, 26.3%)
CIE-LABlab(52.51, 54.01, -36.01)
CIE-LCHlch(52.51, 64.91, 326.31°)
OKLaboklab(61.32% 0.1491 -0.0992)
OKLCHoklch(61.32% 0.179 326.4)
XYZxyz(32.4118, 20.6025, 49.8367)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956BC #59BC56
analogous
#8656BC #B956BC #BC568C
triadic
#B956BC #BCB956 #56BCB9
tetradic
#B956BC #BC8656 #59BC56 #568CBC
square
#B956BC #BC8656 #59BC56 #568CBC
split-complementary
#B956BC #8CBC56 #56BC86
monochromatic
#6B2B6D #963C98 #B956BC #CB82CD #DDAEDF

Accessibility & contrast

On white

4.10
#B956BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B956BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956BC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956BC#FFFFFF#000000##000000
##B956BC1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#6A82B9
Tritanopia (blue-blind)
#BE6281
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b956bc;
/* rgb */ color: rgb(185, 86, 188);
/* oklch */ color: oklch(61.3% 0.179 326.4);
Tailwind
colors: {
  custom: {
    50: '#d08ad0',
    500: '#b956bc',
    950: '#000000',
  },
}
SCSS
$custom: #b956bc;
$custom-light: #d08ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b956bc",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 298.235,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61323,
    "c": 0.17908,
    "h": 326.4
  },
  "luminance": 0.20601
}

Semantic roles & 50–950 ramp

primary
#B956BC
secondary
#A2CDA1
accent
#D35559
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B956BC

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

Preview Lab → · Contrast checker → · Palette generator →

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