#B94BB2#B94BB2

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

Color values

HEX#B94BB2
RGBrgb(185, 75, 178)
HSLhsl(304, 44%, 51%)
HSVhsv(304, 59%, 73%)
CMYKcmyk(0%, 59.5%, 3.8%, 27.5%)
CIE-LABlab(50.17, 57.31, -33.87)
CIE-LCHlch(50.17, 66.57, 329.42°)
OKLaboklab(59.45% 0.1622 -0.093)
OKLCHoklch(59.45% 0.187 330.2)
XYZxyz(30.5593, 18.5629, 44.0843)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94BB2 #4BB952
analogous
#894BB9 #B94BB2 #B94B7B
triadic
#B94BB2 #B2B94B #4BB2B9
tetradic
#B94BB2 #B9894B #4BB952 #4B7BB9
square
#B94BB2 #B9894B #4BB952 #4B7BB9
split-complementary
#B94BB2 #7BB94B #4BB989
monochromatic
#63275F #8F388A #B94BB2 #CA77C5 #DBA3D8

Accessibility & contrast

On white

4.46
#B94BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B94BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94BB2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94BB2#FFFFFF#000000##000000
##B94BB21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#436EB5
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#C05678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b94bb2;
/* rgb */ color: rgb(185, 75, 178);
/* oklch */ color: oklch(59.5% 0.187 330.2);
Tailwind
colors: {
  custom: {
    50: '#d184c9',
    500: '#b94bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b94bb2;
$custom-light: #d184c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b94bb2",
  "rgb": {
    "r": 185,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 303.818,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59454,
    "c": 0.18696,
    "h": 330.2
  },
  "luminance": 0.18561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B94BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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