#B4259D#B4259D

#B4259D is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.214 H 335.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B4259D
RGBrgb(180, 37, 157)
HSLhsl(310, 66%, 43%)
HSVhsv(310, 79%, 71%)
CMYKcmyk(0%, 79.4%, 12.8%, 29.4%)
CIE-LABlab(43.45, 66.51, -32.03)
CIE-LCHlch(43.45, 73.82, 334.28°)
OKLaboklab(54.1% 0.1951 -0.0875)
OKLCHoklch(54.1% 0.214 335.8)
XYZxyz(25.5702, 13.4632, 33.1437)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4259D #25B43C
analogous
#8325B4 #B4259D #B42556
triadic
#B4259D #9DB425 #259DB4
tetradic
#B4259D #B48325 #25B43C #2556B4
square
#B4259D #B48325 #25B43C #2556B4
split-complementary
#B4259D #56B425 #25B483
monochromatic
#4E1044 #811B71 #B4259D #D73FBF #E271D0

Accessibility & contrast

On white

5.69
#B4259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B4259D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4259D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4259D#FFFFFF#000000##FFFFFF
##B4259D1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4259d;
/* rgb */ color: rgb(180, 37, 157);
/* oklch */ color: oklch(54.1% 0.214 335.8);
Tailwind
colors: {
  custom: {
    50: '#cf71ba',
    500: '#b4259d',
    950: '#000000',
  },
}
SCSS
$custom: #b4259d;
$custom-light: #cf71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b4259d",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 309.65,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.541,
    "c": 0.21386,
    "h": 335.8
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#B4259D
secondary
#6CC97B
accent
#E95A3F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4259D

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

Preview Lab → · Contrast checker → · Palette generator →

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