#B4239C#B4239C

#B4239C is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.215 H 336.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B4239C
RGBrgb(180, 35, 156)
HSLhsl(310, 67%, 42%)
HSVhsv(310, 81%, 71%)
CMYKcmyk(0%, 80.6%, 13.3%, 29.4%)
CIE-LABlab(43.22, 66.89, -31.79)
CIE-LCHlch(43.22, 74.06, 334.58°)
OKLaboklab(53.92% 0.1966 -0.0868)
OKLCHoklch(53.92% 0.215 336.2)
XYZxyz(25.4246, 13.3081, 32.6758)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4239C #23B43B
analogous
#8423B4 #B4239C #B42354
triadic
#B4239C #9CB423 #239CB4
tetradic
#B4239C #B48423 #23B43B #2354B4
square
#B4239C #B48423 #23B43B #2354B4
split-complementary
#B4239C #54B423 #23B484
monochromatic
#4E0F43 #811970 #B4239C #D93BBF #E36ED0

Accessibility & contrast

On white

5.74
#B4239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B4239C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4239C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4239C#FFFFFF#000000##FFFFFF
##B4239C1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589F
Deuteranopia (green-blind)
#5C6E99
Tritanopia (blue-blind)
#BE2F5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4239c;
/* rgb */ color: rgb(180, 35, 156);
/* oklch */ color: oklch(53.9% 0.215 336.2);
Tailwind
colors: {
  custom: {
    50: '#cf70b9',
    500: '#b4239c',
    950: '#000000',
  },
}
SCSS
$custom: #b4239c;
$custom-light: #cf70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4239c",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 309.931,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53919,
    "c": 0.21492,
    "h": 336.2
  },
  "luminance": 0.13306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4239C

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

Preview Lab → · Contrast checker → · Palette generator →

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