#B4209C#B4209C

#B4209C is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.217 H 336.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B4209C
RGBrgb(180, 32, 156)
HSLhsl(310, 70%, 42%)
HSVhsv(310, 82%, 71%)
CMYKcmyk(0%, 82.2%, 13.3%, 29.4%)
CIE-LABlab(42.97, 67.62, -32.19)
CIE-LCHlch(42.97, 74.89, 334.54°)
OKLaboklab(53.74% 0.1988 -0.0879)
OKLCHoklch(53.74% 0.217 336.1)
XYZxyz(25.3401, 13.1390, 32.6476)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4209C #20B438
analogous
#8220B4 #B4209C #B42052
triadic
#B4209C #9CB420 #209CB4
tetradic
#B4209C #B48220 #20B438 #2052B4
square
#B4209C #B48220 #20B438 #2052B4
split-complementary
#B4209C #52B420 #20B482
monochromatic
#4C0E42 #80176F #B4209C #DB36C0 #E46AD1

Accessibility & contrast

On white

5.79
#B4209C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B4209C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4209C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4209C#FFFFFF#000000##FFFFFF
##B4209C1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23589F
Deuteranopia (green-blind)
#5B6D99
Tritanopia (blue-blind)
#BE2D5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4209c;
/* rgb */ color: rgb(180, 32, 156);
/* oklch */ color: oklch(53.7% 0.217 336.1);
Tailwind
colors: {
  custom: {
    50: '#cf6fb9',
    500: '#b4209c',
    950: '#000000',
  },
}
SCSS
$custom: #b4209c;
$custom-light: #cf6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4209c",
  "rgb": {
    "r": 180,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 309.73,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.21736,
    "h": 336.1
  },
  "luminance": 0.13137
}

Semantic roles & 50–950 ramp

primary
#B4209C
secondary
#66CA76
accent
#ED583B
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4209C

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

Preview Lab → · Contrast checker → · Palette generator →

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