#B02599#B02599

#B02599 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.209 H 336.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B02599
RGBrgb(176, 37, 153)
HSLhsl(310, 65%, 42%)
HSVhsv(310, 79%, 69%)
CMYKcmyk(0%, 79%, 13.1%, 31%)
CIE-LABlab(42.54, 65.06, -31.10)
CIE-LCHlch(42.54, 72.12, 334.45°)
OKLaboklab(53.25% 0.191 -0.0849)
OKLCHoklch(53.25% 0.209 336)
XYZxyz(24.3162, 12.8554, 31.3315)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02599 #25B03C
analogous
#8225B0 #B02599 #B02554
triadic
#B02599 #99B025 #2599B0
tetradic
#B02599 #B08225 #25B03C #2554B0
square
#B02599 #B08225 #25B03C #2554B0
split-complementary
#B02599 #54B025 #25B082
monochromatic
#4B1041 #7D1A6D #B02599 #D63CBD #E16FCE

Accessibility & contrast

On white

5.88
#B02599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02599
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02599#FFFFFF#000000##FFFFFF
##B025991.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#5A6C96
Tritanopia (blue-blind)
#B9315E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02599;
/* rgb */ color: rgb(176, 37, 153);
/* oklch */ color: oklch(53.3% 0.209 336.0);
Tailwind
colors: {
  custom: {
    50: '#cc70b7',
    500: '#b02599',
    950: '#000000',
  },
}
SCSS
$custom: #b02599;
$custom-light: #cc70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02599",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 309.928,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53251,
    "c": 0.20906,
    "h": 336
  },
  "luminance": 0.12853
}

Semantic roles & 50–950 ramp

primary
#B02599
secondary
#6AC779
accent
#E85B40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02599

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

Preview Lab → · Contrast checker → · Palette generator →

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