#B94DB2#B94DB2

#B94DB2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.184 H 330.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B94DB2
RGBrgb(185, 77, 178)
HSLhsl(304, 44%, 51%)
HSVhsv(304, 58%, 73%)
CMYKcmyk(0%, 58.4%, 3.8%, 27.5%)
CIE-LABlab(50.50, 56.42, -33.36)
CIE-LCHlch(50.50, 65.54, 329.41°)
OKLaboklab(59.69% 0.1597 -0.0915)
OKLCHoklch(59.69% 0.184 330.2)
XYZxyz(30.6971, 18.8385, 44.1302)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94DB2 #4DB954
analogous
#8A4DB9 #B94DB2 #B94D7C
triadic
#B94DB2 #B2B94D #4DB2B9
tetradic
#B94DB2 #B98A4D #4DB954 #4D7CB9
square
#B94DB2 #B98A4D #4DB954 #4D7CB9
split-complementary
#B94DB2 #7CB94D #4DB98A
monochromatic
#642760 #90398A #B94DB2 #CA79C5 #DCA5D8

Accessibility & contrast

On white

4.41
#B94DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B94DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94DB2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94DB2#FFFFFF#000000##000000
##B94DB21.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#BF5878
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b94db2;
/* rgb */ color: rgb(185, 77, 178);
/* oklch */ color: oklch(59.7% 0.184 330.2);
Tailwind
colors: {
  custom: {
    50: '#d185c9',
    500: '#b94db2',
    950: '#000000',
  },
}
SCSS
$custom: #b94db2;
$custom-light: #d185c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b94db2",
  "rgb": {
    "r": 185,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 303.889,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59692,
    "c": 0.18403,
    "h": 330.2
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#B94DB2
secondary
#99C99C
accent
#D35D55
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B94DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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