#B0239C#B0239C

#B0239C is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.213 H 334.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B0239C
RGBrgb(176, 35, 156)
HSLhsl(309, 67%, 41%)
HSVhsv(309, 80%, 69%)
CMYKcmyk(0%, 80.1%, 11.4%, 31%)
CIE-LABlab(42.51, 66.03, -32.96)
CIE-LCHlch(42.51, 73.79, 333.47°)
OKLaboklab(53.28% 0.1928 -0.0902)
OKLCHoklch(53.28% 0.213 334.9)
XYZxyz(24.5066, 12.8347, 32.6327)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0239C #23B037
analogous
#7E23B0 #B0239C #B02355
triadic
#B0239C #9CB023 #239CB0
tetradic
#B0239C #B07E23 #23B037 #2355B0
square
#B0239C #B07E23 #23B037 #2355B0
split-complementary
#B0239C #55B023 #23B07E
monochromatic
#4A0F42 #7D196F #B0239C #D839C1 #E26CD1

Accessibility & contrast

On white

5.89
#B0239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B0239C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0239C
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0239C#FFFFFF#000000##FFFFFF
##B0239C1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579F
Deuteranopia (green-blind)
#586C99
Tritanopia (blue-blind)
#B9315F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0239c;
/* rgb */ color: rgb(176, 35, 156);
/* oklch */ color: oklch(53.3% 0.213 334.9);
Tailwind
colors: {
  custom: {
    50: '#cc70b9',
    500: '#b0239c',
    950: '#000000',
  },
}
SCSS
$custom: #b0239c;
$custom-light: #cc70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b0239c",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 308.511,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53278,
    "c": 0.21287,
    "h": 334.9
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0239C

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

Preview Lab → · Contrast checker → · Palette generator →

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