#B0299E#B0299E

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

Color values

HEX#B0299E
RGBrgb(176, 41, 158)
HSLhsl(308, 62%, 43%)
HSVhsv(308, 77%, 69%)
CMYKcmyk(0%, 76.7%, 10.2%, 31%)
CIE-LABlab(43.19, 64.66, -33.09)
CIE-LCHlch(43.19, 72.64, 332.90°)
OKLaboklab(53.8% 0.188 -0.0907)
OKLCHoklch(53.8% 0.209 334.3)
XYZxyz(24.8692, 13.2868, 33.5960)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0299E #29B03B
analogous
#7E29B0 #B0299E #B0295A
triadic
#B0299E #9EB029 #299EB0
tetradic
#B0299E #B07E29 #29B03B #295AB0
square
#B0299E #B07E29 #29B03B #295AB0
split-complementary
#B0299E #5AB029 #29B07E
monochromatic
#4D1245 #7E1D71 #B0299E #D343C0 #DF75D1

Accessibility & contrast

On white

5.74
#B0299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0299E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0299E#FFFFFF#000000##FFFFFF
##B0299E1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA1
Deuteranopia (green-blind)
#596D9B
Tritanopia (blue-blind)
#B93662
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b0299e;
/* rgb */ color: rgb(176, 41, 158);
/* oklch */ color: oklch(53.8% 0.209 334.3);
Tailwind
colors: {
  custom: {
    50: '#cb72bb',
    500: '#b0299e',
    950: '#000000',
  },
}
SCSS
$custom: #b0299e;
$custom-light: #cb72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b0299e",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 308,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53798,
    "c": 0.20872,
    "h": 334.3
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0299E

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

Preview Lab → · Contrast checker → · Palette generator →

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