#B950AB#B950AB

#B950AB is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.7% C 0.174 H 332.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B950AB
RGBrgb(185, 80, 171)
HSLhsl(308, 43%, 52%)
HSVhsv(308, 57%, 73%)
CMYKcmyk(0%, 56.8%, 7.6%, 27.5%)
CIE-LABlab(50.68, 53.87, -28.98)
CIE-LCHlch(50.68, 61.17, 331.72°)
OKLaboklab(59.72% 0.1547 -0.079)
OKLCHoklch(59.72% 0.174 332.9)
XYZxyz(30.2269, 18.9940, 40.5943)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950AB #50B95E
analogous
#9350B9 #B950AB #B95077
triadic
#B950AB #ABB950 #50ABB9
tetradic
#B950AB #B99350 #50B95E #5077B9
square
#B950AB #B99350 #50B95E #5077B9
split-complementary
#B950AB #77B950 #50B993
monochromatic
#66295E #923A86 #B950AB #CA7CC0 #DCA7D5

Accessibility & contrast

On white

4.38
#B950AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B950AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950AB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950AB#FFFFFF#000000##000000
##B950AB1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAE
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#C05876
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b950ab;
/* rgb */ color: rgb(185, 80, 171);
/* oklch */ color: oklch(59.7% 0.174 332.9);
Tailwind
colors: {
  custom: {
    50: '#d186c4',
    500: '#b950ab',
    950: '#000000',
  },
}
SCSS
$custom: #b950ab;
$custom-light: #d186c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b950ab",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 171
  },
  "hsl": {
    "h": 308,
    "s": 42.857,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59721,
    "c": 0.17373,
    "h": 332.9
  },
  "luminance": 0.18992
}

Semantic roles & 50–950 ramp

primary
#B950AB
secondary
#9BC9A2
accent
#D36655
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #B950AB

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

Preview Lab → · Contrast checker → · Palette generator →

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