#B951BA#B951BA

#B951BA is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.6% C 0.185 H 327.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B951BA
RGBrgb(185, 81, 186)
HSLhsl(299, 43%, 52%)
HSVhsv(299, 56%, 73%)
CMYKcmyk(0.5%, 56.5%, 0%, 27.1%)
CIE-LABlab(51.55, 55.99, -36.36)
CIE-LCHlch(51.55, 66.77, 327.00°)
OKLaboklab(60.59% 0.1554 -0.1002)
OKLCHoklch(60.59% 0.185 327.2)
XYZxyz(31.8124, 19.7462, 48.5806)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951BA #52BA51
analogous
#8551BA #B951BA #BA5186
triadic
#B951BA #BAB951 #51BAB9
tetradic
#B951BA #BA8551 #52BA51 #5186BA
square
#B951BA #BA8551 #52BA51 #5186BA
split-complementary
#B951BA #86BA51 #51BA85
monochromatic
#672968 #933A93 #B951BA #CB7DCB #DCA9DD

Accessibility & contrast

On white

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

On black

4.95
#B951BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951BA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951BA#FFFFFF#000000##000000
##B951BA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#6880B7
Tritanopia (blue-blind)
#BE5E7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b951ba;
/* rgb */ color: rgb(185, 81, 186);
/* oklch */ color: oklch(60.6% 0.185 327.2);
Tailwind
colors: {
  custom: {
    50: '#d187cf',
    500: '#b951ba',
    950: '#000000',
  },
}
SCSS
$custom: #b951ba;
$custom-light: #d187cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b951ba",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 299.429,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60586,
    "c": 0.18491,
    "h": 327.2
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#B951BA
secondary
#9DCA9D
accent
#D35556
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B951BA

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

Preview Lab → · Contrast checker → · Palette generator →

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