#B94CB2#B94CB2

#B94CB2 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.6% C 0.185 H 330.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B94CB2
RGBrgb(185, 76, 178)
HSLhsl(304, 44%, 51%)
HSVhsv(304, 59%, 73%)
CMYKcmyk(0%, 58.9%, 3.8%, 27.5%)
CIE-LABlab(50.33, 56.87, -33.61)
CIE-LCHlch(50.33, 66.06, 329.41°)
OKLaboklab(59.57% 0.1609 -0.0922)
OKLCHoklch(59.57% 0.186 330.2)
XYZxyz(30.6277, 18.6996, 44.1071)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94CB2 #4CB953
analogous
#894CB9 #B94CB2 #B94C7B
triadic
#B94CB2 #B2B94C #4CB2B9
tetradic
#B94CB2 #B9894C #4CB953 #4C7BB9
square
#B94CB2 #B9894C #4CB953 #4C7BB9
split-complementary
#B94CB2 #7BB94C #4CB989
monochromatic
#642760 #90388A #B94CB2 #CA78C5 #DBA4D8

Accessibility & contrast

On white

4.43
#B94CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B94CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94CB2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94CB2#FFFFFF#000000##000000
##B94CB21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#BF5778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b94cb2;
/* rgb */ color: rgb(185, 76, 178);
/* oklch */ color: oklch(59.6% 0.185 330.2);
Tailwind
colors: {
  custom: {
    50: '#d184c9',
    500: '#b94cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b94cb2;
$custom-light: #d184c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b94cb2",
  "rgb": {
    "r": 185,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 303.853,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59572,
    "c": 0.1855,
    "h": 330.2
  },
  "luminance": 0.18698
}

Semantic roles & 50–950 ramp

primary
#B94CB2
secondary
#98C89B
accent
#D45C54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B94CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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