#B4259F#B4259F

#B4259F is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.215 H 335.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B4259F
RGBrgb(180, 37, 159)
HSLhsl(309, 66%, 43%)
HSVhsv(309, 79%, 71%)
CMYKcmyk(0%, 79.4%, 11.7%, 29.4%)
CIE-LABlab(43.55, 66.80, -33.07)
CIE-LCHlch(43.55, 74.54, 333.66°)
OKLaboklab(54.21% 0.1953 -0.0905)
OKLCHoklch(54.21% 0.215 335.1)
XYZxyz(25.7423, 13.5320, 34.0504)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4259F #25B43A
analogous
#8125B4 #B4259F #B42558
triadic
#B4259F #9FB425 #259FB4
tetradic
#B4259F #B48125 #25B43A #2558B4
square
#B4259F #B48125 #25B43A #2558B4
split-complementary
#B4259F #58B425 #25B481
monochromatic
#4E1045 #811B72 #B4259F #D73FC1 #E271D1

Accessibility & contrast

On white

5.67
#B4259F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B4259F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4259F
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4259F#FFFFFF#000000##FFFFFF
##B4259F1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245AA2
Deuteranopia (green-blind)
#5B6E9C
Tritanopia (blue-blind)
#BD3361
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4259f;
/* rgb */ color: rgb(180, 37, 159);
/* oklch */ color: oklch(54.2% 0.215 335.1);
Tailwind
colors: {
  custom: {
    50: '#cf71bc',
    500: '#b4259f',
    950: '#000000',
  },
}
SCSS
$custom: #b4259f;
$custom-light: #cf71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b4259f",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 308.811,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54205,
    "c": 0.21521,
    "h": 335.1
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#B4259F
secondary
#6CC97A
accent
#E9583F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4259F

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

Preview Lab → · Contrast checker → · Palette generator →

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