#B950AF#B950AF

#B950AF is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.9% C 0.177 H 331.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B950AF
RGBrgb(185, 80, 175)
HSLhsl(306, 43%, 52%)
HSVhsv(306, 57%, 73%)
CMYKcmyk(0%, 56.8%, 5.4%, 27.5%)
CIE-LABlab(50.86, 54.55, -31.04)
CIE-LCHlch(50.86, 62.76, 330.36°)
OKLaboklab(59.91% 0.1553 -0.0849)
OKLCHoklch(59.91% 0.177 331.3)
XYZxyz(30.6140, 19.1488, 42.6328)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950AF #50B95A
analogous
#8E50B9 #B950AF #B9507B
triadic
#B950AF #AFB950 #50AFB9
tetradic
#B950AF #B98E50 #50B95A #507BB9
square
#B950AF #B98E50 #50B95A #507BB9
split-complementary
#B950AF #7BB950 #50B98E
monochromatic
#662960 #923A89 #B950AF #CA7CC3 #DCA7D7

Accessibility & contrast

On white

4.35
#B950AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B950AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950AF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950AF#FFFFFF#000000##000000
##B950AF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#6C7EAC
Tritanopia (blue-blind)
#C05978
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b950af;
/* rgb */ color: rgb(185, 80, 175);
/* oklch */ color: oklch(59.9% 0.177 331.3);
Tailwind
colors: {
  custom: {
    50: '#d187c7',
    500: '#b950af',
    950: '#000000',
  },
}
SCSS
$custom: #b950af;
$custom-light: #d187c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b950af",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 305.714,
    "s": 42.857,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59912,
    "c": 0.17702,
    "h": 331.3
  },
  "luminance": 0.19147
}

Semantic roles & 50–950 ramp

primary
#B950AF
secondary
#9BC9A0
accent
#D36155
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B950AF

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

Preview Lab → · Contrast checker → · Palette generator →

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