#B1239B#B1239B

#B1239B is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.213 H 335.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B1239B
RGBrgb(177, 35, 155)
HSLhsl(309, 67%, 42%)
HSVhsv(309, 80%, 69%)
CMYKcmyk(0%, 80.2%, 12.4%, 30.6%)
CIE-LABlab(42.64, 66.10, -32.14)
CIE-LCHlch(42.64, 73.50, 334.07°)
OKLaboklab(53.39% 0.1937 -0.0879)
OKLCHoklch(53.39% 0.213 335.6)
XYZxyz(24.6493, 12.9180, 32.1992)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1239B #23B139
analogous
#8023B1 #B1239B #B12354
triadic
#B1239B #9BB123 #239BB1
tetradic
#B1239B #B18023 #23B139 #2354B1
square
#B1239B #B18023 #23B139 #2354B1
split-complementary
#B1239B #54B123 #23B180
monochromatic
#4B0F42 #7E196E #B1239B #D839BF #E26CD0

Accessibility & contrast

On white

5.86
#B1239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B1239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1239B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1239B#FFFFFF#000000##FFFFFF
##B1239B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579E
Deuteranopia (green-blind)
#5A6C98
Tritanopia (blue-blind)
#BA305F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b1239b;
/* rgb */ color: rgb(177, 35, 155);
/* oklch */ color: oklch(53.4% 0.213 335.6);
Tailwind
colors: {
  custom: {
    50: '#cc70b9',
    500: '#b1239b',
    950: '#000000',
  },
}
SCSS
$custom: #b1239b;
$custom-light: #cc70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b1239b",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 309.296,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53385,
    "c": 0.2127,
    "h": 335.6
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#B1239B
secondary
#68C877
accent
#EA593E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B1239B

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

Preview Lab → · Contrast checker → · Palette generator →

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