#B941AB#B941AB

#B941AB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 58.0% C 0.195 H 332.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B941AB
RGBrgb(185, 65, 171)
HSLhsl(307, 48%, 49%)
HSVhsv(307, 65%, 73%)
CMYKcmyk(0%, 64.9%, 7.6%, 27.5%)
CIE-LABlab(48.31, 60.38, -32.68)
CIE-LCHlch(48.31, 68.66, 331.57°)
OKLaboklab(57.99% 0.1736 -0.0895)
OKLCHoklch(57.99% 0.195 332.7)
XYZxyz(29.2486, 17.0374, 40.2682)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B941AB #41B94F
analogous
#8B41B9 #B941AB #B9416F
triadic
#B941AB #ABB941 #41ABB9
tetradic
#B941AB #B98B41 #41B94F #416FB9
square
#B941AB #B98B41 #41B94F #416FB9
split-complementary
#B941AB #6FB941 #41B98B
monochromatic
#5E2157 #8C3181 #B941AB #CB6CC0 #DB99D4

Accessibility & contrast

On white

4.77
#B941AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B941AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B941AB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B941AB#FFFFFF#000000##FFFFFF
##B941AB1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AE
Deuteranopia (green-blind)
#6579A8
Tritanopia (blue-blind)
#C14B70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b941ab;
/* rgb */ color: rgb(185, 65, 171);
/* oklch */ color: oklch(58.0% 0.195 332.7);
Tailwind
colors: {
  custom: {
    50: '#d17ec4',
    500: '#b941ab',
    950: '#000000',
  },
}
SCSS
$custom: #b941ab;
$custom-light: #d17ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#b941ab",
  "rgb": {
    "r": 185,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 307,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.19532,
    "h": 332.7
  },
  "luminance": 0.17035
}

Semantic roles & 50–950 ramp

primary
#B941AB
secondary
#8FC795
accent
#D86050
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B941AB

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

Preview Lab → · Contrast checker → · Palette generator →

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