#B4239E#B4239E

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

Color values

HEX#B4239E
RGBrgb(180, 35, 158)
HSLhsl(309, 67%, 42%)
HSVhsv(309, 81%, 71%)
CMYKcmyk(0%, 80.6%, 12.2%, 29.4%)
CIE-LABlab(43.33, 67.17, -32.83)
CIE-LCHlch(43.33, 74.77, 333.95°)
OKLaboklab(54.02% 0.1967 -0.0898)
OKLCHoklch(54.02% 0.216 335.5)
XYZxyz(25.5954, 13.3764, 33.5750)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4239E #23B439
analogous
#8123B4 #B4239E #B42356
triadic
#B4239E #9EB423 #239EB4
tetradic
#B4239E #B48123 #23B439 #2356B4
square
#B4239E #B48123 #23B439 #2356B4
split-complementary
#B4239E #56B423 #23B481
monochromatic
#4E0F44 #811971 #B4239E #D93BC1 #E36ED1

Accessibility & contrast

On white

5.71
#B4239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4239E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4239E#FFFFFF#000000##FFFFFF
##B4239E1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2359A1
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#BD3160
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4239e;
/* rgb */ color: rgb(180, 35, 158);
/* oklch */ color: oklch(54.0% 0.216 335.5);
Tailwind
colors: {
  custom: {
    50: '#cf70bb',
    500: '#b4239e',
    950: '#000000',
  },
}
SCSS
$custom: #b4239e;
$custom-light: #cf70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b4239e",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 309.103,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.21625,
    "h": 335.5
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#B4239E
secondary
#69C978
accent
#EA583D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4239E

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

Preview Lab → · Contrast checker → · Palette generator →

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