#B4249D#B4249D

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

Color values

HEX#B4249D
RGBrgb(180, 36, 157)
HSLhsl(310, 67%, 42%)
HSVhsv(310, 80%, 71%)
CMYKcmyk(0%, 80%, 12.8%, 29.4%)
CIE-LABlab(43.36, 66.77, -32.17)
CIE-LCHlch(43.36, 74.12, 334.27°)
OKLaboklab(54.04% 0.1959 -0.0879)
OKLCHoklch(54.04% 0.215 335.8)
XYZxyz(25.5395, 13.4018, 33.1335)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4249D #24B43B
analogous
#8324B4 #B4249D #B42455
triadic
#B4249D #9DB424 #249DB4
tetradic
#B4249D #B48324 #24B43B #2455B4
square
#B4249D #B48324 #24B43B #2455B4
split-complementary
#B4249D #55B424 #24B483
monochromatic
#4E1044 #811A71 #B4249D #D83DBF #E270D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4249D#FFFFFF#000000##FFFFFF
##B4249D1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#5C6E9A
Tritanopia (blue-blind)
#BD3160
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4249d;
/* rgb */ color: rgb(180, 36, 157);
/* oklch */ color: oklch(54.0% 0.215 335.8);
Tailwind
colors: {
  custom: {
    50: '#cf71ba',
    500: '#b4249d',
    950: '#000000',
  },
}
SCSS
$custom: #b4249d;
$custom-light: #cf71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b4249d",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 309.583,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.21474,
    "h": 335.8
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#B4249D
secondary
#6BC97A
accent
#EA5A3E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4249D

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

Preview Lab → · Contrast checker → · Palette generator →

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