#B1239F#B1239F

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

Color values

HEX#B1239F
RGBrgb(177, 35, 159)
HSLhsl(308, 67%, 42%)
HSVhsv(308, 80%, 69%)
CMYKcmyk(0%, 80.2%, 10.2%, 30.6%)
CIE-LABlab(42.85, 66.68, -34.23)
CIE-LCHlch(42.85, 74.95, 332.83°)
OKLaboklab(53.6% 0.1939 -0.0939)
OKLCHoklch(53.6% 0.215 334.2)
XYZxyz(24.9908, 13.0546, 33.9978)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1239F #23B135
analogous
#7C23B1 #B1239F #B12358
triadic
#B1239F #9FB123 #239FB1
tetradic
#B1239F #B17C23 #23B135 #2358B1
square
#B1239F #B17C23 #23B135 #2358B1
split-complementary
#B1239F #58B123 #23B17C
monochromatic
#4B0F43 #7E1971 #B1239F #D839C4 #E26CD3

Accessibility & contrast

On white

5.82
#B1239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B1239F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1239F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1239F#FFFFFF#000000##FFFFFF
##B1239F1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#586C9C
Tritanopia (blue-blind)
#BA3261
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b1239f;
/* rgb */ color: rgb(177, 35, 159);
/* oklch */ color: oklch(53.6% 0.215 334.2);
Tailwind
colors: {
  custom: {
    50: '#cc70bc',
    500: '#b1239f',
    950: '#000000',
  },
}
SCSS
$custom: #b1239f;
$custom-light: #cc70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b1239f",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 307.606,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.21542,
    "h": 334.2
  },
  "luminance": 0.13052
}

Semantic roles & 50–950 ramp

primary
#B1239F
secondary
#68C874
accent
#EA543E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B1239F

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

Preview Lab → · Contrast checker → · Palette generator →

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