#B0239B#B0239B

#B0239B is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.212 H 335.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B0239B
RGBrgb(176, 35, 155)
HSLhsl(309, 67%, 41%)
HSVhsv(309, 80%, 69%)
CMYKcmyk(0%, 80.1%, 11.9%, 31%)
CIE-LABlab(42.46, 65.88, -32.44)
CIE-LCHlch(42.46, 73.43, 333.79°)
OKLaboklab(53.23% 0.1927 -0.0887)
OKLCHoklch(53.23% 0.212 335.3)
XYZxyz(24.4223, 12.8010, 32.1886)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0239B #23B038
analogous
#7F23B0 #B0239B #B02355
triadic
#B0239B #9BB023 #239BB0
tetradic
#B0239B #B07F23 #23B038 #2355B0
square
#B0239B #B07F23 #23B038 #2355B0
split-complementary
#B0239B #55B023 #23B07F
monochromatic
#4A0F41 #7D196E #B0239B #D839C0 #E26CD0

Accessibility & contrast

On white

5.90
#B0239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B0239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0239B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0239B#FFFFFF#000000##FFFFFF
##B0239B1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#596B98
Tritanopia (blue-blind)
#B9305F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0239b;
/* rgb */ color: rgb(176, 35, 155);
/* oklch */ color: oklch(53.2% 0.212 335.3);
Tailwind
colors: {
  custom: {
    50: '#cc70b9',
    500: '#b0239b',
    950: '#000000',
  },
}
SCSS
$custom: #b0239b;
$custom-light: #cc70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b0239b",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 308.936,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53225,
    "c": 0.21218,
    "h": 335.3
  },
  "luminance": 0.12799
}

Semantic roles & 50–950 ramp

primary
#B0239B
secondary
#67C875
accent
#EA583E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B0239B

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

Preview Lab → · Contrast checker → · Palette generator →

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