#B0299B#B0299B

#B0299B is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.207 H 335.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B0299B
RGBrgb(176, 41, 155)
HSLhsl(309, 62%, 43%)
HSVhsv(309, 77%, 69%)
CMYKcmyk(0%, 76.7%, 11.9%, 31%)
CIE-LABlab(43.04, 64.22, -31.53)
CIE-LCHlch(43.04, 71.54, 333.85°)
OKLaboklab(53.64% 0.1878 -0.0862)
OKLCHoklch(53.64% 0.207 335.4)
XYZxyz(24.6142, 13.1848, 32.2526)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0299B #29B03E
analogous
#8129B0 #B0299B #B02958
triadic
#B0299B #9BB029 #299BB0
tetradic
#B0299B #B08129 #29B03E #2958B0
square
#B0299B #B08129 #29B03E #2958B0
split-complementary
#B0299B #58B029 #29B081
monochromatic
#4D1244 #7E1D6F #B0299B #D343BD #DF75CE

Accessibility & contrast

On white

5.77
#B0299B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B0299B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0299B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0299B#FFFFFF#000000##FFFFFF
##B0299B1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599E
Deuteranopia (green-blind)
#5B6D98
Tritanopia (blue-blind)
#B93560
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b0299b;
/* rgb */ color: rgb(176, 41, 155);
/* oklch */ color: oklch(53.6% 0.207 335.4);
Tailwind
colors: {
  custom: {
    50: '#cc72b9',
    500: '#b0299b',
    950: '#000000',
  },
}
SCSS
$custom: #b0299b;
$custom-light: #cc72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b0299b",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 309.333,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53639,
    "c": 0.20663,
    "h": 335.4
  },
  "luminance": 0.13183
}

Semantic roles & 50–950 ramp

primary
#B0299B
secondary
#6FC67C
accent
#E55C43
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B0299B

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

Preview Lab → · Contrast checker → · Palette generator →

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