#B4289F#B4289F

#B4289F is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.212 H 335.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B4289F
RGBrgb(180, 40, 159)
HSLhsl(309, 64%, 43%)
HSVhsv(309, 78%, 71%)
CMYKcmyk(0%, 77.8%, 11.7%, 29.4%)
CIE-LABlab(43.84, 65.98, -32.63)
CIE-LCHlch(43.84, 73.61, 333.69°)
OKLaboklab(54.41% 0.1928 -0.0892)
OKLCHoklch(54.41% 0.212 335.2)
XYZxyz(25.8395, 13.7264, 34.0828)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4289F #28B43D
analogous
#8328B4 #B4289F #B42859
triadic
#B4289F #9FB428 #289FB4
tetradic
#B4289F #B48328 #28B43D #2859B4
square
#B4289F #B48328 #28B43D #2859B4
split-complementary
#B4289F #59B428 #28B483
monochromatic
#501247 #821D73 #B4289F #D544C0 #E176D1

Accessibility & contrast

On white

5.61
#B4289F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B4289F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4289F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4289F#FFFFFF#000000##FFFFFF
##B4289F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA2
Deuteranopia (green-blind)
#5C6F9C
Tritanopia (blue-blind)
#BD3562
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b4289f;
/* rgb */ color: rgb(180, 40, 159);
/* oklch */ color: oklch(54.4% 0.212 335.2);
Tailwind
colors: {
  custom: {
    50: '#ce72bc',
    500: '#b4289f',
    950: '#000000',
  },
}
SCSS
$custom: #b4289f;
$custom-light: #ce72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b4289f",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 309,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54408,
    "c": 0.21248,
    "h": 335.2
  },
  "luminance": 0.13724
}

Semantic roles & 50–950 ramp

primary
#B4289F
secondary
#70C87D
accent
#E75A41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4289F

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

Preview Lab → · Contrast checker → · Palette generator →

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