#B4239D#B4239D

#B4239D is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.216 H 335.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B4239D
RGBrgb(180, 35, 157)
HSLhsl(310, 67%, 42%)
HSVhsv(310, 81%, 71%)
CMYKcmyk(0%, 80.6%, 12.8%, 29.4%)
CIE-LABlab(43.27, 67.03, -32.31)
CIE-LCHlch(43.27, 74.41, 334.26°)
OKLaboklab(53.97% 0.1967 -0.0883)
OKLCHoklch(53.97% 0.216 335.8)
XYZxyz(25.5097, 13.3421, 33.1235)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4239D #23B43A
analogous
#8223B4 #B4239D #B42355
triadic
#B4239D #9DB423 #239DB4
tetradic
#B4239D #B48223 #23B43A #2355B4
square
#B4239D #B48223 #23B43A #2355B4
split-complementary
#B4239D #55B423 #23B482
monochromatic
#4E0F44 #811970 #B4239D #D93BC0 #E36ED0

Accessibility & contrast

On white

5.73
#B4239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B4239D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4239D
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4239D#FFFFFF#000000##FFFFFF
##B4239D1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A0
Deuteranopia (green-blind)
#5B6E9A
Tritanopia (blue-blind)
#BD3060
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4239d;
/* rgb */ color: rgb(180, 35, 157);
/* oklch */ color: oklch(54.0% 0.216 335.8);
Tailwind
colors: {
  custom: {
    50: '#cf70ba',
    500: '#b4239d',
    950: '#000000',
  },
}
SCSS
$custom: #b4239d;
$custom-light: #cf70ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b4239d",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 309.517,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.21559,
    "h": 335.8
  },
  "luminance": 0.1334
}

Semantic roles & 50–950 ramp

primary
#B4239D
secondary
#69C979
accent
#EA593D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4239D

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

Preview Lab → · Contrast checker → · Palette generator →

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