#B0239A#B0239A

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

Color values

HEX#B0239A
RGBrgb(176, 35, 154)
HSLhsl(309, 67%, 41%)
HSVhsv(309, 80%, 69%)
CMYKcmyk(0%, 80.1%, 12.5%, 31%)
CIE-LABlab(42.41, 65.74, -31.91)
CIE-LCHlch(42.41, 73.08, 334.10°)
OKLaboklab(53.17% 0.1927 -0.0872)
OKLCHoklch(53.17% 0.212 335.6)
XYZxyz(24.3387, 12.7675, 31.7482)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0239A #23B039
analogous
#8023B0 #B0239A #B02354
triadic
#B0239A #9AB023 #239AB0
tetradic
#B0239A #B08023 #23B039 #2354B0
square
#B0239A #B08023 #23B039 #2354B0
split-complementary
#B0239A #54B023 #23B080
monochromatic
#4A0F41 #7D196D #B0239A #D839BF #E26CCF

Accessibility & contrast

On white

5.91
#B0239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B0239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0239A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0239A#FFFFFF#000000##FFFFFF
##B0239A1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579D
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#B9305E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0239a;
/* rgb */ color: rgb(176, 35, 154);
/* oklch */ color: oklch(53.2% 0.212 335.6);
Tailwind
colors: {
  custom: {
    50: '#cc70b8',
    500: '#b0239a',
    950: '#000000',
  },
}
SCSS
$custom: #b0239a;
$custom-light: #cc70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b0239a",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 309.362,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.21151,
    "h": 335.6
  },
  "luminance": 0.12765
}

Semantic roles & 50–950 ramp

primary
#B0239A
secondary
#67C876
accent
#EA593E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B0239A

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

Preview Lab → · Contrast checker → · Palette generator →

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