#B94FB2#B94FB2

#B94FB2 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.9% C 0.181 H 330.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B94FB2
RGBrgb(185, 79, 178)
HSLhsl(304, 43%, 52%)
HSVhsv(304, 57%, 73%)
CMYKcmyk(0%, 57.3%, 3.8%, 27.5%)
CIE-LABlab(50.83, 55.52, -32.84)
CIE-LCHlch(50.83, 64.50, 329.40°)
OKLaboklab(59.94% 0.1571 -0.09)
OKLCHoklch(59.94% 0.181 330.2)
XYZxyz(30.8392, 19.1227, 44.1776)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94FB2 #4FB956
analogous
#8B4FB9 #B94FB2 #B94F7D
triadic
#B94FB2 #B2B94F #4FB2B9
tetradic
#B94FB2 #B98B4F #4FB956 #4F7DB9
square
#B94FB2 #B98B4F #4FB956 #4F7DB9
split-complementary
#B94FB2 #7DB94F #4FB98B
monochromatic
#652861 #913A8B #B94FB2 #CA7BC5 #DCA7D8

Accessibility & contrast

On white

4.35
#B94FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B94FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94FB2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94FB2#FFFFFF#000000##000000
##B94FB21.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#BF5979
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b94fb2;
/* rgb */ color: rgb(185, 79, 178);
/* oklch */ color: oklch(59.9% 0.181 330.2);
Tailwind
colors: {
  custom: {
    50: '#d186c9',
    500: '#b94fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b94fb2;
$custom-light: #d186c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b94fb2",
  "rgb": {
    "r": 185,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 303.962,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59935,
    "c": 0.18105,
    "h": 330.2
  },
  "luminance": 0.19121
}

Semantic roles & 50–950 ramp

primary
#B94FB2
secondary
#9BC99E
accent
#D35D55
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B94FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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