#B4289D#B4289D

#B4289D is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.211 H 335.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B4289D
RGBrgb(180, 40, 157)
HSLhsl(310, 64%, 43%)
HSVhsv(310, 78%, 71%)
CMYKcmyk(0%, 77.8%, 12.8%, 29.4%)
CIE-LABlab(43.74, 65.69, -31.59)
CIE-LCHlch(43.74, 72.89, 334.32°)
OKLaboklab(54.3% 0.1927 -0.0862)
OKLCHoklch(54.3% 0.211 335.9)
XYZxyz(25.6674, 13.6576, 33.1761)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4289D #28B43F
analogous
#8528B4 #B4289D #B42857
triadic
#B4289D #9DB428 #289DB4
tetradic
#B4289D #B48528 #28B43F #2857B4
square
#B4289D #B48528 #28B43F #2857B4
split-complementary
#B4289D #57B428 #28B485
monochromatic
#501246 #821D71 #B4289D #D544BD #E176CF

Accessibility & contrast

On white

5.63
#B4289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B4289D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4289D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4289D#FFFFFF#000000##FFFFFF
##B4289D1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#5D6F9A
Tritanopia (blue-blind)
#BD3461
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4289d;
/* rgb */ color: rgb(180, 40, 157);
/* oklch */ color: oklch(54.3% 0.211 335.9);
Tailwind
colors: {
  custom: {
    50: '#ce72ba',
    500: '#b4289d',
    950: '#000000',
  },
}
SCSS
$custom: #b4289d;
$custom-light: #ce72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b4289d",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 309.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.21112,
    "h": 335.9
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#B4289D
secondary
#70C87E
accent
#E75C41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4289D

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

Preview Lab → · Contrast checker → · Palette generator →

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