#B4289E#B4289E

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

Color values

HEX#B4289E
RGBrgb(180, 40, 158)
HSLhsl(309, 64%, 43%)
HSVhsv(309, 78%, 71%)
CMYKcmyk(0%, 77.8%, 12.2%, 29.4%)
CIE-LABlab(43.79, 65.84, -32.11)
CIE-LCHlch(43.79, 73.25, 334.00°)
OKLaboklab(54.36% 0.1928 -0.0877)
OKLCHoklch(54.36% 0.212 335.5)
XYZxyz(25.7531, 13.6919, 33.6276)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4289E #28B43E
analogous
#8428B4 #B4289E #B42858
triadic
#B4289E #9EB428 #289EB4
tetradic
#B4289E #B48428 #28B43E #2858B4
square
#B4289E #B48428 #28B43E #2858B4
split-complementary
#B4289E #58B428 #28B484
monochromatic
#501246 #821D72 #B4289E #D544BF #E176D0

Accessibility & contrast

On white

5.62
#B4289E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4289E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4289E#FFFFFF#000000##FFFFFF
##B4289E1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA1
Deuteranopia (green-blind)
#5C6F9B
Tritanopia (blue-blind)
#BD3461
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4289e;
/* rgb */ color: rgb(180, 40, 158);
/* oklch */ color: oklch(54.4% 0.212 335.5);
Tailwind
colors: {
  custom: {
    50: '#ce72bb',
    500: '#b4289e',
    950: '#000000',
  },
}
SCSS
$custom: #b4289e;
$custom-light: #ce72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b4289e",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 309.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54356,
    "c": 0.2118,
    "h": 335.5
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#B4289E
secondary
#70C87E
accent
#E75B41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4289E

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

Preview Lab → · Contrast checker → · Palette generator →

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