#B4209E#B4209E

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

Color values

HEX#B4209E
RGBrgb(180, 32, 158)
HSLhsl(309, 70%, 42%)
HSVhsv(309, 82%, 71%)
CMYKcmyk(0%, 82.2%, 12.2%, 29.4%)
CIE-LABlab(43.07, 67.90, -33.23)
CIE-LCHlch(43.07, 75.59, 333.92°)
OKLaboklab(53.85% 0.1989 -0.0909)
OKLCHoklch(53.85% 0.219 335.4)
XYZxyz(25.5109, 13.2073, 33.5468)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4209E #20B436
analogous
#8020B4 #B4209E #B42054
triadic
#B4209E #9EB420 #209EB4
tetradic
#B4209E #B48020 #20B436 #2054B4
square
#B4209E #B48020 #20B436 #2054B4
split-complementary
#B4209E #54B420 #20B480
monochromatic
#4C0E43 #801770 #B4209E #DB36C3 #E46AD2

Accessibility & contrast

On white

5.77
#B4209E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B4209E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4209E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4209E#FFFFFF#000000##FFFFFF
##B4209E1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A1
Deuteranopia (green-blind)
#5A6D9B
Tritanopia (blue-blind)
#BD2F60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4209e;
/* rgb */ color: rgb(180, 32, 158);
/* oklch */ color: oklch(53.8% 0.219 335.4);
Tailwind
colors: {
  custom: {
    50: '#cf70bb',
    500: '#b4209e',
    950: '#000000',
  },
}
SCSS
$custom: #b4209e;
$custom-light: #cf70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b4209e",
  "rgb": {
    "r": 180,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 308.919,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53845,
    "c": 0.21868,
    "h": 335.4
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4209E

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

Preview Lab → · Contrast checker → · Palette generator →

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