#B02399#B02399

#B02399 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.211 H 336.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B02399
RGBrgb(176, 35, 153)
HSLhsl(310, 67%, 41%)
HSVhsv(310, 80%, 69%)
CMYKcmyk(0%, 80.1%, 13.1%, 31%)
CIE-LABlab(42.36, 65.59, -31.39)
CIE-LCHlch(42.36, 72.72, 334.43°)
OKLaboklab(53.12% 0.1926 -0.0857)
OKLCHoklch(53.12% 0.211 336)
XYZxyz(24.2557, 12.7344, 31.3113)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02399 #23B03A
analogous
#8123B0 #B02399 #B02353
triadic
#B02399 #99B023 #2399B0
tetradic
#B02399 #B08123 #23B03A #2353B0
square
#B02399 #B08123 #23B03A #2353B0
split-complementary
#B02399 #53B023 #23B081
monochromatic
#4A0F40 #7D196D #B02399 #D839BE #E26CCE

Accessibility & contrast

On white

5.92
#B02399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02399
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02399#FFFFFF#000000##FFFFFF
##B023991.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#5A6B96
Tritanopia (blue-blind)
#B92F5D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02399;
/* rgb */ color: rgb(176, 35, 153);
/* oklch */ color: oklch(53.1% 0.211 336.0);
Tailwind
colors: {
  custom: {
    50: '#cc70b7',
    500: '#b02399',
    950: '#000000',
  },
}
SCSS
$custom: #b02399;
$custom-light: #cc70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02399",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 309.787,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.21084,
    "h": 336
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#B02399
secondary
#67C877
accent
#EA5A3E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02399

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

Preview Lab → · Contrast checker → · Palette generator →

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