#B0299F#B0299F

#B0299F is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.209 H 333.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B0299F
RGBrgb(176, 41, 159)
HSLhsl(308, 62%, 43%)
HSVhsv(308, 77%, 69%)
CMYKcmyk(0%, 76.7%, 9.7%, 31%)
CIE-LABlab(43.24, 64.81, -33.61)
CIE-LCHlch(43.24, 73.01, 332.59°)
OKLaboklab(53.85% 0.1881 -0.0921)
OKLCHoklch(53.85% 0.209 333.9)
XYZxyz(24.9557, 13.3214, 34.0511)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0299F #29B03A
analogous
#7E29B0 #B0299F #B0295B
triadic
#B0299F #9FB029 #299FB0
tetradic
#B0299F #B07E29 #29B03A #295BB0
square
#B0299F #B07E29 #29B03A #295BB0
split-complementary
#B0299F #5BB029 #29B07E
monochromatic
#4D1245 #7E1D72 #B0299F #D343C1 #DF75D1

Accessibility & contrast

On white

5.73
#B0299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B0299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0299F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0299F#FFFFFF#000000##FFFFFF
##B0299F1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255AA2
Deuteranopia (green-blind)
#596D9C
Tritanopia (blue-blind)
#B83762
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b0299f;
/* rgb */ color: rgb(176, 41, 159);
/* oklch */ color: oklch(53.9% 0.209 333.9);
Tailwind
colors: {
  custom: {
    50: '#cb72bc',
    500: '#b0299f',
    950: '#000000',
  },
}
SCSS
$custom: #b0299f;
$custom-light: #cb72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b0299f",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 307.556,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53851,
    "c": 0.20942,
    "h": 333.9
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#B0299F
secondary
#6FC67A
accent
#E55743
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B0299F

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

Preview Lab → · Contrast checker → · Palette generator →

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