#B941B2#B941B2

#B941B2 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.3% C 0.201 H 330.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B941B2
RGBrgb(185, 65, 178)
HSLhsl(304, 48%, 49%)
HSVhsv(304, 65%, 73%)
CMYKcmyk(0%, 64.9%, 3.8%, 27.5%)
CIE-LABlab(48.65, 61.52, -36.26)
CIE-LCHlch(48.65, 71.41, 329.48°)
OKLaboklab(58.35% 0.1743 -0.0998)
OKLCHoklch(58.35% 0.201 330.2)
XYZxyz(29.9336, 17.3114, 43.8757)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B941B2 #41B948
analogous
#8441B9 #B941B2 #B94176
triadic
#B941B2 #B2B941 #41B2B9
tetradic
#B941B2 #B98441 #41B948 #4176B9
square
#B941B2 #B98441 #41B948 #4176B9
split-complementary
#B941B2 #76B941 #41B984
monochromatic
#5E215B #8C3186 #B941B2 #CB6CC6 #DB99D7

Accessibility & contrast

On white

4.71
#B941B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B941B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B941B2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B941B2#FFFFFF#000000##FFFFFF
##B941B21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#6279AF
Tritanopia (blue-blind)
#C04E74
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b941b2;
/* rgb */ color: rgb(185, 65, 178);
/* oklch */ color: oklch(58.3% 0.201 330.2);
Tailwind
colors: {
  custom: {
    50: '#d17ec9',
    500: '#b941b2',
    950: '#000000',
  },
}
SCSS
$custom: #b941b2;
$custom-light: #d17ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b941b2",
  "rgb": {
    "r": 185,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 303.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58347,
    "c": 0.20081,
    "h": 330.2
  },
  "luminance": 0.17309
}

Semantic roles & 50–950 ramp

primary
#B941B2
secondary
#8FC792
accent
#D85850
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B941B2

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

Preview Lab → · Contrast checker → · Palette generator →

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