#B1259D#B1259D

#B1259D is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.212 H 334.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B1259D
RGBrgb(177, 37, 157)
HSLhsl(309, 65%, 42%)
HSVhsv(309, 79%, 69%)
CMYKcmyk(0%, 79.1%, 11.3%, 30.6%)
CIE-LABlab(42.92, 65.86, -32.90)
CIE-LCHlch(42.92, 73.62, 333.46°)
OKLaboklab(53.62% 0.1923 -0.0901)
OKLCHoklch(53.62% 0.212 334.9)
XYZxyz(24.8792, 13.1068, 33.1113)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1259D #25B139
analogous
#7F25B1 #B1259D #B12557
triadic
#B1259D #9DB125 #259DB1
tetradic
#B1259D #B17F25 #25B139 #2557B1
square
#B1259D #B17F25 #25B139 #2557B1
split-complementary
#B1259D #57B125 #25B17F
monochromatic
#4C1043 #7E1A70 #B1259D #D63DC0 #E16FD1

Accessibility & contrast

On white

5.80
#B1259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B1259D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1259D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1259D#FFFFFF#000000##FFFFFF
##B1259D1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2458A0
Deuteranopia (green-blind)
#596D9A
Tritanopia (blue-blind)
#BA3360
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b1259d;
/* rgb */ color: rgb(177, 37, 157);
/* oklch */ color: oklch(53.6% 0.212 334.9);
Tailwind
colors: {
  custom: {
    50: '#cc71ba',
    500: '#b1259d',
    950: '#000000',
  },
}
SCSS
$custom: #b1259d;
$custom-light: #cc71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b1259d",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 308.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53622,
    "c": 0.2123,
    "h": 334.9
  },
  "luminance": 0.13105
}

Semantic roles & 50–950 ramp

primary
#B1259D
secondary
#6AC878
accent
#E8583F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B1259D

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

Preview Lab → · Contrast checker → · Palette generator →

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