#B94CC7#B94CC7

#B94CC7 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.7% C 0.204 H 323.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B94CC7
RGBrgb(185, 76, 199)
HSLhsl(293, 52%, 54%)
HSVhsv(293, 62%, 78%)
CMYKcmyk(7%, 61.8%, 0%, 22%)
CIE-LABlab(51.39, 60.58, -44.12)
CIE-LCHlch(51.39, 74.95, 323.94°)
OKLaboklab(60.69% 0.1626 -0.1226)
OKLCHoklch(60.69% 0.204 323)
XYZxyz(32.8998, 19.6085, 56.0736)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94CC7 #5AC74C
analogous
#7C4CC7 #B94CC7 #C74C98
triadic
#B94CC7 #C7B94C #4CC7B9
tetradic
#B94CC7 #C77C4C #5AC74C #4C98C7
square
#B94CC7 #C77C4C #5AC74C #4C98C7
split-complementary
#B94CC7 #98C74C #4CC77C
monochromatic
#6B2474 #9633A3 #B94CC7 #CB7BD6 #DDA9E4

Accessibility & contrast

On white

4.27
#B94CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B94CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94CC7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94CC7#FFFFFF#000000##000000
##B94CC71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3372CB
Deuteranopia (green-blind)
#5D7FC4
Tritanopia (blue-blind)
#BC5F83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b94cc7;
/* rgb */ color: rgb(185, 76, 199);
/* oklch */ color: oklch(60.7% 0.204 323.0);
Tailwind
colors: {
  custom: {
    50: '#d185d8',
    500: '#b94cc7',
    950: '#000000',
  },
}
SCSS
$custom: #b94cc7;
$custom-light: #d185d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b94cc7",
  "rgb": {
    "r": 185,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 293.171,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60686,
    "c": 0.20364,
    "h": 323
  },
  "luminance": 0.19607
}

Semantic roles & 50–950 ramp

primary
#B94CC7
secondary
#A3D29D
accent
#DC4C5C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B94CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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