#B951BD#B951BD

#B951BD is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.188 H 326.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B951BD
RGBrgb(185, 81, 189)
HSLhsl(298, 45%, 53%)
HSVhsv(298, 57%, 74%)
CMYKcmyk(2.1%, 57.1%, 0%, 25.9%)
CIE-LABlab(51.70, 56.53, -37.87)
CIE-LCHlch(51.70, 68.04, 326.18°)
OKLaboklab(60.74% 0.1557 -0.1045)
OKLCHoklch(60.74% 0.188 326.1)
XYZxyz(32.1347, 19.8751, 50.2779)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951BD #55BD51
analogous
#8351BD #B951BD #BD518B
triadic
#B951BD #BDB951 #51BDB9
tetradic
#B951BD #BD8351 #55BD51 #518BBD
square
#B951BD #BD8351 #55BD51 #518BBD
split-complementary
#B951BD #8BBD51 #51BD83
monochromatic
#69296B #943997 #B951BD #CB7DCE #DDAADF

Accessibility & contrast

On white

4.22
#B951BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B951BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951BD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951BD#FFFFFF#000000##000000
##B951BD1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#BD5F7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b951bd;
/* rgb */ color: rgb(185, 81, 189);
/* oklch */ color: oklch(60.7% 0.188 326.1);
Tailwind
colors: {
  custom: {
    50: '#d187d1',
    500: '#b951bd',
    950: '#000000',
  },
}
SCSS
$custom: #b951bd;
$custom-light: #d187d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b951bd",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 297.778,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60741,
    "c": 0.18756,
    "h": 326.1
  },
  "luminance": 0.19873
}

Semantic roles & 50–950 ramp

primary
#B951BD
secondary
#9FCC9E
accent
#D55358
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B951BD

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

Preview Lab → · Contrast checker → · Palette generator →

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