#B951BC#B951BC

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

Color values

HEX#B951BC
RGBrgb(185, 81, 188)
HSLhsl(298, 44%, 53%)
HSVhsv(298, 57%, 74%)
CMYKcmyk(1.6%, 56.9%, 0%, 26.3%)
CIE-LABlab(51.65, 56.35, -37.37)
CIE-LCHlch(51.65, 67.61, 326.45°)
OKLaboklab(60.69% 0.1556 -0.1031)
OKLCHoklch(60.69% 0.187 326.5)
XYZxyz(32.0265, 19.8319, 49.7082)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951BC #54BC51
analogous
#8451BC #B951BC #BC5189
triadic
#B951BC #BCB951 #51BCB9
tetradic
#B951BC #BC8451 #54BC51 #5189BC
square
#B951BC #BC8451 #54BC51 #5189BC
split-complementary
#B951BC #89BC51 #51BC84
monochromatic
#68296A #933A96 #B951BC #CB7DCD #DDA9DE

Accessibility & contrast

On white

4.23
#B951BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B951BC#FFFFFF#000000##000000
##B951BC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#BE5E7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b951bc;
/* rgb */ color: rgb(185, 81, 188);
/* oklch */ color: oklch(60.7% 0.187 326.5);
Tailwind
colors: {
  custom: {
    50: '#d187d0',
    500: '#b951bc',
    950: '#000000',
  },
}
SCSS
$custom: #b951bc;
$custom-light: #d187d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b951bc",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 298.318,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60689,
    "c": 0.18668,
    "h": 326.5
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B951BC

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

Preview Lab → · Contrast checker → · Palette generator →

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