#B956BA#B956BA

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

Color values

HEX#B956BA
RGBrgb(185, 86, 186)
HSLhsl(299, 42%, 53%)
HSVhsv(299, 54%, 73%)
CMYKcmyk(0.5%, 53.8%, 0%, 27.1%)
CIE-LABlab(52.42, 53.65, -35.00)
CIE-LCHlch(52.42, 64.06, 326.88°)
OKLaboklab(61.22% 0.1488 -0.0963)
OKLCHoklch(61.22% 0.177 327.1)
XYZxyz(32.1977, 20.5169, 48.7091)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956BA #57BA56
analogous
#8756BA #B956BA #BA5689
triadic
#B956BA #BAB956 #56BAB9
tetradic
#B956BA #BA8756 #57BA56 #5689BA
square
#B956BA #BA8756 #57BA56 #5689BA
split-complementary
#B956BA #89BA56 #56BA87
monochromatic
#6A2B6A #953D96 #B956BA #CB81CC #DDADDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B956BA#FFFFFF#000000##000000
##B956BA1.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)
#4B75BD
Deuteranopia (green-blind)
#6B82B7
Tritanopia (blue-blind)
#BE6280
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b956ba;
/* rgb */ color: rgb(185, 86, 186);
/* oklch */ color: oklch(61.2% 0.177 327.1);
Tailwind
colors: {
  custom: {
    50: '#d08acf',
    500: '#b956ba',
    950: '#000000',
  },
}
SCSS
$custom: #b956ba;
$custom-light: #d08acf;
$custom-dark: #000000;
JSON
{
  "hex": "#b956ba",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 299.4,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.17727,
    "h": 327.1
  },
  "luminance": 0.20515
}

Semantic roles & 50–950 ramp

primary
#B956BA
secondary
#A1CBA0
accent
#D25657
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B956BA

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

Preview Lab → · Contrast checker → · Palette generator →

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