#B4209F#B4209F

#B4209F is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.219 H 335.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B4209F
RGBrgb(180, 32, 159)
HSLhsl(309, 70%, 42%)
HSVhsv(309, 82%, 71%)
CMYKcmyk(0%, 82.2%, 11.7%, 29.4%)
CIE-LABlab(43.13, 68.04, -33.75)
CIE-LCHlch(43.13, 75.95, 333.62°)
OKLaboklab(53.9% 0.1989 -0.0924)
OKLCHoklch(53.9% 0.219 335.1)
XYZxyz(25.5973, 13.2419, 34.0020)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4209F #20B435
analogous
#7F20B4 #B4209F #B42055
triadic
#B4209F #9FB420 #209FB4
tetradic
#B4209F #B47F20 #20B435 #2055B4
square
#B4209F #B47F20 #20B435 #2055B4
split-complementary
#B4209F #55B420 #20B47F
monochromatic
#4C0E43 #801771 #B4209F #DB36C4 #E46AD3

Accessibility & contrast

On white

5.76
#B4209F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B4209F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4209F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4209F#FFFFFF#000000##FFFFFF
##B4209F1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#596D9C
Tritanopia (blue-blind)
#BD2F60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4209f;
/* rgb */ color: rgb(180, 32, 159);
/* oklch */ color: oklch(53.9% 0.219 335.1);
Tailwind
colors: {
  custom: {
    50: '#cf70bc',
    500: '#b4209f',
    950: '#000000',
  },
}
SCSS
$custom: #b4209f;
$custom-light: #cf70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b4209f",
  "rgb": {
    "r": 180,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 308.514,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.21936,
    "h": 335.1
  },
  "luminance": 0.1324
}

Semantic roles & 50–950 ramp

primary
#B4209F
secondary
#66CA74
accent
#ED543B
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4209F

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

Preview Lab → · Contrast checker → · Palette generator →

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