#B4299F#B4299F

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

Color values

HEX#B4299F
RGBrgb(180, 41, 159)
HSLhsl(309, 63%, 43%)
HSVhsv(309, 77%, 71%)
CMYKcmyk(0%, 77.2%, 11.7%, 29.4%)
CIE-LABlab(43.94, 65.70, -32.47)
CIE-LCHlch(43.94, 73.29, 333.70°)
OKLaboklab(54.48% 0.192 -0.0888)
OKLCHoklch(54.48% 0.212 335.2)
XYZxyz(25.8737, 13.7947, 34.0941)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4299F #29B43E
analogous
#8329B4 #B4299F #B42959
triadic
#B4299F #9FB429 #299FB4
tetradic
#B4299F #B48329 #29B43E #2959B4
square
#B4299F #B48329 #29B43E #2959B4
split-complementary
#B4299F #59B429 #29B483
monochromatic
#501247 #821E73 #B4299F #D545BF #E077D0

Accessibility & contrast

On white

5.59
#B4299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B4299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4299F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4299F#FFFFFF#000000##FFFFFF
##B4299F1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4299f;
/* rgb */ color: rgb(180, 41, 159);
/* oklch */ color: oklch(54.5% 0.212 335.2);
Tailwind
colors: {
  custom: {
    50: '#ce73bc',
    500: '#b4299f',
    950: '#000000',
  },
}
SCSS
$custom: #b4299f;
$custom-light: #ce73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b4299f",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 309.065,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.21153,
    "h": 335.2
  },
  "luminance": 0.13792
}

Semantic roles & 50–950 ramp

primary
#B4299F
secondary
#71C87E
accent
#E65B42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4299F

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

Preview Lab → · Contrast checker → · Palette generator →

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