#B951BF#B951BF

#B951BF is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.8% C 0.189 H 325.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B951BF
RGBrgb(185, 81, 191)
HSLhsl(297, 46%, 53%)
HSVhsv(297, 58%, 75%)
CMYKcmyk(3.1%, 57.6%, 0%, 25.1%)
CIE-LABlab(51.79, 56.89, -38.87)
CIE-LCHlch(51.79, 68.90, 325.66°)
OKLaboklab(60.85% 0.1559 -0.1074)
OKLCHoklch(60.85% 0.189 325.4)
XYZxyz(32.3533, 19.9626, 51.4292)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951BF #57BF51
analogous
#8251BF #B951BF #BF518E
triadic
#B951BF #BFB951 #51BFB9
tetradic
#B951BF #BF8251 #57BF51 #518EBF
square
#B951BF #BF8251 #57BF51 #518EBF
split-complementary
#B951BF #8EBF51 #51BF82
monochromatic
#6A286D #95399A #B951BF #CB7ECF #DDAAE0

Accessibility & contrast

On white

4.21
#B951BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B951BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951BF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951BF#FFFFFF#000000##000000
##B951BF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#BD5F80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b951bf;
/* rgb */ color: rgb(185, 81, 191);
/* oklch */ color: oklch(60.8% 0.189 325.4);
Tailwind
colors: {
  custom: {
    50: '#d187d3',
    500: '#b951bf',
    950: '#000000',
  },
}
SCSS
$custom: #b951bf;
$custom-light: #d187d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b951bf",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 296.727,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.18934,
    "h": 325.4
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#B951BF
secondary
#A1CE9E
accent
#D65259
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B951BF

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

Preview Lab → · Contrast checker → · Palette generator →

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