#B94FAC#B94FAC

#B94FAC is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.6% C 0.176 H 332.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B94FAC
RGBrgb(185, 79, 172)
HSLhsl(307, 43%, 52%)
HSVhsv(307, 57%, 73%)
CMYKcmyk(0%, 57.3%, 7%, 27.5%)
CIE-LABlab(50.55, 54.50, -29.76)
CIE-LCHlch(50.55, 62.10, 331.36°)
OKLaboklab(59.64% 0.1562 -0.0812)
OKLCHoklch(59.64% 0.176 332.5)
XYZxyz(30.2499, 18.8869, 41.0740)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94FAC #4FB95C
analogous
#914FB9 #B94FAC #B94F77
triadic
#B94FAC #ACB94F #4FACB9
tetradic
#B94FAC #B9914F #4FB95C #4F77B9
square
#B94FAC #B9914F #4FB95C #4F77B9
split-complementary
#B94FAC #77B94F #4FB991
monochromatic
#65285E #913A86 #B94FAC #CA7BC1 #DCA7D5

Accessibility & contrast

On white

4.40
#B94FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B94FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94FAC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94FAC#FFFFFF#000000##000000
##B94FAC1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FAF
Deuteranopia (green-blind)
#6D7EA9
Tritanopia (blue-blind)
#C05776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b94fac;
/* rgb */ color: rgb(185, 79, 172);
/* oklch */ color: oklch(59.6% 0.176 332.5);
Tailwind
colors: {
  custom: {
    50: '#d186c5',
    500: '#b94fac',
    950: '#000000',
  },
}
SCSS
$custom: #b94fac;
$custom-light: #d186c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b94fac",
  "rgb": {
    "r": 185,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 307.358,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59643,
    "c": 0.17608,
    "h": 332.5
  },
  "luminance": 0.18885
}

Semantic roles & 50–950 ramp

primary
#B94FAC
secondary
#9BC9A0
accent
#D36455
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B94FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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