#B0299A#B0299A

#B0299A is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.206 H 335.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B0299A
RGBrgb(176, 41, 154)
HSLhsl(310, 62%, 43%)
HSVhsv(310, 77%, 69%)
CMYKcmyk(0%, 76.7%, 12.5%, 31%)
CIE-LABlab(42.99, 64.07, -31.00)
CIE-LCHlch(42.99, 71.18, 334.18°)
OKLaboklab(53.59% 0.1877 -0.0847)
OKLCHoklch(53.59% 0.206 335.7)
XYZxyz(24.5305, 13.1513, 31.8121)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0299A #29B03F
analogous
#8329B0 #B0299A #B02956
triadic
#B0299A #9AB029 #299AB0
tetradic
#B0299A #B08329 #29B03F #2956B0
square
#B0299A #B08329 #29B03F #2956B0
split-complementary
#B0299A #56B029 #29B083
monochromatic
#4D1243 #7E1D6F #B0299A #D343BC #DF75CD

Accessibility & contrast

On white

5.79
#B0299A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B0299A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0299A
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0299A#FFFFFF#000000##FFFFFF
##B0299A1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599D
Deuteranopia (green-blind)
#5B6D97
Tritanopia (blue-blind)
#B9345F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b0299a;
/* rgb */ color: rgb(176, 41, 154);
/* oklch */ color: oklch(53.6% 0.206 335.7);
Tailwind
colors: {
  custom: {
    50: '#cc72b8',
    500: '#b0299a',
    950: '#000000',
  },
}
SCSS
$custom: #b0299a;
$custom-light: #cc72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b0299a",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 309.778,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.20594,
    "h": 335.7
  },
  "luminance": 0.13149
}

Semantic roles & 50–950 ramp

primary
#B0299A
secondary
#6FC67D
accent
#E55D43
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B0299A

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

Preview Lab → · Contrast checker → · Palette generator →

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