#B951AC#B951AC

#B951AC is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.9% C 0.173 H 332.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B951AC
RGBrgb(185, 81, 172)
HSLhsl(308, 43%, 52%)
HSVhsv(308, 56%, 73%)
CMYKcmyk(0%, 56.2%, 7%, 27.5%)
CIE-LABlab(50.90, 53.58, -29.23)
CIE-LCHlch(50.90, 61.03, 331.39°)
OKLaboklab(59.9% 0.1535 -0.0797)
OKLCHoklch(59.9% 0.173 332.6)
XYZxyz(30.3964, 19.1798, 41.1228)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951AC #51B95E
analogous
#9251B9 #B951AC #B95178
triadic
#B951AC #ACB951 #51ACB9
tetradic
#B951AC #B99251 #51B95E #5178B9
square
#B951AC #B99251 #51B95E #5178B9
split-complementary
#B951AC #78B951 #51B992
monochromatic
#66295F #923B87 #B951AC #CB7DC1 #DCA8D6

Accessibility & contrast

On white

4.34
#B951AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B951AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951AC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951AC#FFFFFF#000000##000000
##B951AC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E70AF
Deuteranopia (green-blind)
#6E7FA9
Tritanopia (blue-blind)
#C05977
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b951ac;
/* rgb */ color: rgb(185, 81, 172);
/* oklch */ color: oklch(59.9% 0.173 332.6);
Tailwind
colors: {
  custom: {
    50: '#d187c5',
    500: '#b951ac',
    950: '#000000',
  },
}
SCSS
$custom: #b951ac;
$custom-light: #d187c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b951ac",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 307.5,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59895,
    "c": 0.17301,
    "h": 332.6
  },
  "luminance": 0.19178
}

Semantic roles & 50–950 ramp

primary
#B951AC
secondary
#9CCAA2
accent
#D26555
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B951AC

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

Preview Lab → · Contrast checker → · Palette generator →

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