#B941AF#B941AF

#B941AF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.2% C 0.198 H 331.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B941AF
RGBrgb(185, 65, 175)
HSLhsl(305, 48%, 49%)
HSVhsv(305, 65%, 73%)
CMYKcmyk(0%, 64.9%, 5.4%, 27.5%)
CIE-LABlab(48.50, 61.03, -34.73)
CIE-LCHlch(48.50, 70.22, 330.35°)
OKLaboklab(58.19% 0.174 -0.0954)
OKLCHoklch(58.19% 0.198 331.3)
XYZxyz(29.6357, 17.1922, 42.3067)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B941AF #41B94B
analogous
#8741B9 #B941AF #B94173
triadic
#B941AF #AFB941 #41AFB9
tetradic
#B941AF #B98741 #41B94B #4173B9
square
#B941AF #B98741 #41B94B #4173B9
split-complementary
#B941AF #73B941 #41B987
monochromatic
#5E2159 #8C3184 #B941AF #CB6CC3 #DB99D6

Accessibility & contrast

On white

4.73
#B941AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B941AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B941AF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B941AF#FFFFFF#000000##FFFFFF
##B941AF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B2
Deuteranopia (green-blind)
#6379AC
Tritanopia (blue-blind)
#C04D72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b941af;
/* rgb */ color: rgb(185, 65, 175);
/* oklch */ color: oklch(58.2% 0.198 331.3);
Tailwind
colors: {
  custom: {
    50: '#d17ec7',
    500: '#b941af',
    950: '#000000',
  },
}
SCSS
$custom: #b941af;
$custom-light: #d17ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#b941af",
  "rgb": {
    "r": 185,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 305,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5819,
    "c": 0.19844,
    "h": 331.3
  },
  "luminance": 0.1719
}

Semantic roles & 50–950 ramp

primary
#B941AF
secondary
#8FC793
accent
#D85B50
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B941AF

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

Preview Lab → · Contrast checker → · Palette generator →

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