#B950B2#B950B2

#B950B2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.1% C 0.180 H 330.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B950B2
RGBrgb(185, 80, 178)
HSLhsl(304, 43%, 52%)
HSVhsv(304, 57%, 73%)
CMYKcmyk(0%, 56.8%, 3.8%, 27.5%)
CIE-LABlab(51.00, 55.06, -32.57)
CIE-LCHlch(51.00, 63.97, 329.39°)
OKLaboklab(60.06% 0.1558 -0.0893)
OKLCHoklch(60.06% 0.18 330.2)
XYZxyz(30.9119, 19.2680, 44.2018)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950B2 #50B957
analogous
#8C50B9 #B950B2 #B9507E
triadic
#B950B2 #B2B950 #50B2B9
tetradic
#B950B2 #B98C50 #50B957 #507EB9
square
#B950B2 #B98C50 #50B957 #507EB9
split-complementary
#B950B2 #7EB950 #50B98C
monochromatic
#662962 #923A8C #B950B2 #CA7CC5 #DCA7D8

Accessibility & contrast

On white

4.33
#B950B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B950B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950B2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950B2#FFFFFF#000000##000000
##B950B21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#BF5A7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b950b2;
/* rgb */ color: rgb(185, 80, 178);
/* oklch */ color: oklch(60.1% 0.180 330.2);
Tailwind
colors: {
  custom: {
    50: '#d187c9',
    500: '#b950b2',
    950: '#000000',
  },
}
SCSS
$custom: #b950b2;
$custom-light: #d187c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b950b2",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 304,
    "s": 42.857,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60059,
    "c": 0.17954,
    "h": 330.2
  },
  "luminance": 0.19266
}

Semantic roles & 50–950 ramp

primary
#B950B2
secondary
#9BC99E
accent
#D35E55
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B950B2

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

Preview Lab → · Contrast checker → · Palette generator →

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