#B4239F#B4239F

#B4239F is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.217 H 335.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B4239F
RGBrgb(180, 35, 159)
HSLhsl(309, 67%, 42%)
HSVhsv(309, 81%, 71%)
CMYKcmyk(0%, 80.6%, 11.7%, 29.4%)
CIE-LABlab(43.38, 67.31, -33.35)
CIE-LCHlch(43.38, 75.12, 333.64°)
OKLaboklab(54.08% 0.1968 -0.0913)
OKLCHoklch(54.08% 0.217 335.1)
XYZxyz(25.6818, 13.4109, 34.0302)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4239F #23B438
analogous
#8123B4 #B4239F #B42356
triadic
#B4239F #9FB423 #239FB4
tetradic
#B4239F #B48123 #23B438 #2356B4
square
#B4239F #B48123 #23B438 #2356B4
split-complementary
#B4239F #56B423 #23B481
monochromatic
#4E0F44 #811972 #B4239F #D93BC2 #E36ED2

Accessibility & contrast

On white

5.70
#B4239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B4239F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4239F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4239F#FFFFFF#000000##FFFFFF
##B4239F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A2
Deuteranopia (green-blind)
#5A6E9C
Tritanopia (blue-blind)
#BD3161
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4239f;
/* rgb */ color: rgb(180, 35, 159);
/* oklch */ color: oklch(54.1% 0.217 335.1);
Tailwind
colors: {
  custom: {
    50: '#cf71bc',
    500: '#b4239f',
    950: '#000000',
  },
}
SCSS
$custom: #b4239f;
$custom-light: #cf71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b4239f",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 308.69,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54077,
    "c": 0.21692,
    "h": 335.1
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#B4239F
secondary
#69C977
accent
#EA573D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4239F

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

Preview Lab → · Contrast checker → · Palette generator →

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