#B951AA#B951AA

#B951AA is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.8% C 0.171 H 333.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B951AA
RGBrgb(185, 81, 170)
HSLhsl(309, 43%, 52%)
HSVhsv(309, 56%, 73%)
CMYKcmyk(0%, 56.2%, 8.1%, 27.5%)
CIE-LABlab(50.81, 53.24, -28.19)
CIE-LCHlch(50.81, 60.25, 332.10°)
OKLaboklab(59.8% 0.1532 -0.0768)
OKLCHoklch(59.8% 0.171 333.4)
XYZxyz(30.2057, 19.1036, 40.1188)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951AA #51B960
analogous
#9451B9 #B951AA #B95176
triadic
#B951AA #AAB951 #51AAB9
tetradic
#B951AA #B99451 #51B960 #5176B9
square
#B951AA #B99451 #51B960 #5176B9
split-complementary
#B951AA #76B951 #51B994
monochromatic
#66295E #923B85 #B951AA #CB7DBF #DCA8D5

Accessibility & contrast

On white

4.36
#B951AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B951AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951AA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951AA#FFFFFF#000000##000000
##B951AA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAD
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#C15876
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b951aa;
/* rgb */ color: rgb(185, 81, 170);
/* oklch */ color: oklch(59.8% 0.171 333.4);
Tailwind
colors: {
  custom: {
    50: '#d187c3',
    500: '#b951aa',
    950: '#000000',
  },
}
SCSS
$custom: #b951aa;
$custom-light: #d187c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b951aa",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 308.654,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.598,
    "c": 0.17138,
    "h": 333.4
  },
  "luminance": 0.19101
}

Semantic roles & 50–950 ramp

primary
#B951AA
secondary
#9CCAA3
accent
#D26755
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #B951AA

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

Preview Lab → · Contrast checker → · Palette generator →

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