#B951BB#B951BB

#B951BB is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.6% C 0.186 H 326.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B951BB
RGBrgb(185, 81, 187)
HSLhsl(299, 44%, 53%)
HSVhsv(299, 57%, 73%)
CMYKcmyk(1.1%, 56.7%, 0%, 26.7%)
CIE-LABlab(51.60, 56.17, -36.87)
CIE-LCHlch(51.60, 67.19, 326.72°)
OKLaboklab(60.64% 0.1555 -0.1016)
OKLCHoklch(60.64% 0.186 326.8)
XYZxyz(31.9191, 19.7889, 49.1425)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951BB #53BB51
analogous
#8451BB #B951BB #BB5188
triadic
#B951BB #BBB951 #51BBB9
tetradic
#B951BB #BB8451 #53BB51 #5188BB
square
#B951BB #BB8451 #53BB51 #5188BB
split-complementary
#B951BB #88BB51 #51BB84
monochromatic
#672969 #933A95 #B951BB #CB7DCC #DCA9DD

Accessibility & contrast

On white

4.24
#B951BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B951BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951BB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951BB#FFFFFF#000000##000000
##B951BB1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BE
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#BE5E7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b951bb;
/* rgb */ color: rgb(185, 81, 187);
/* oklch */ color: oklch(60.6% 0.186 326.8);
Tailwind
colors: {
  custom: {
    50: '#d187d0',
    500: '#b951bb',
    950: '#000000',
  },
}
SCSS
$custom: #b951bb;
$custom-light: #d187d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b951bb",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 298.868,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60637,
    "c": 0.1858,
    "h": 326.8
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

primary
#B951BB
secondary
#9ECB9D
accent
#D45457
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B951BB

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

Preview Lab → · Contrast checker → · Palette generator →

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