#B94CA7#B94CA7

#B94CA7 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.0% C 0.177 H 334.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B94CA7
RGBrgb(185, 76, 167)
HSLhsl(310, 44%, 51%)
HSVhsv(310, 59%, 73%)
CMYKcmyk(0%, 58.9%, 9.7%, 27.5%)
CIE-LABlab(49.83, 55.04, -27.96)
CIE-LCHlch(49.83, 61.74, 333.07°)
OKLaboklab(59.04% 0.1594 -0.0761)
OKLCHoklch(59.04% 0.177 334.5)
XYZxyz(29.5672, 18.2754, 38.5220)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94CA7 #4CB95E
analogous
#944CB9 #B94CA7 #B94C70
triadic
#B94CA7 #A7B94C #4CA7B9
tetradic
#B94CA7 #B9944C #4CB95E #4C70B9
square
#B94CA7 #B9944C #4CB95E #4C70B9
split-complementary
#B94CA7 #70B94C #4CB994
monochromatic
#64275A #903881 #B94CA7 #CA78BD #DBA4D2

Accessibility & contrast

On white

4.51
#B94CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B94CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94CA7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94CA7#FFFFFF#000000##000000
##B94CA71.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6CAA
Deuteranopia (green-blind)
#6D7CA4
Tritanopia (blue-blind)
#C15372
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b94ca7;
/* rgb */ color: rgb(185, 76, 167);
/* oklch */ color: oklch(59.0% 0.177 334.5);
Tailwind
colors: {
  custom: {
    50: '#d184c1',
    500: '#b94ca7',
    950: '#000000',
  },
}
SCSS
$custom: #b94ca7;
$custom-light: #d184c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b94ca7",
  "rgb": {
    "r": 185,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 309.908,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59037,
    "c": 0.17661,
    "h": 334.5
  },
  "luminance": 0.18273
}

Semantic roles & 50–950 ramp

primary
#B94CA7
secondary
#98C8A0
accent
#D46954
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B94CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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