#B3299F#B3299F

#B3299F is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.211 H 334.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B3299F
RGBrgb(179, 41, 159)
HSLhsl(309, 63%, 43%)
HSVhsv(309, 77%, 70%)
CMYKcmyk(0%, 77.1%, 11.2%, 29.8%)
CIE-LABlab(43.76, 65.48, -32.76)
CIE-LCHlch(43.76, 73.21, 333.42°)
OKLaboklab(54.32% 0.191 -0.0896)
OKLCHoklch(54.32% 0.211 334.9)
XYZxyz(25.6417, 13.6751, 34.0833)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3299F #29B33D
analogous
#8229B3 #B3299F #B3295A
triadic
#B3299F #9FB329 #299FB3
tetradic
#B3299F #B38229 #29B33D #295AB3
square
#B3299F #B38229 #29B33D #295AB3
split-complementary
#B3299F #5AB329 #29B382
monochromatic
#4F1247 #811E73 #B3299F #D445C0 #E077D1

Accessibility & contrast

On white

5.62
#B3299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B3299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3299F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3299F#FFFFFF#000000##FFFFFF
##B3299F1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA2
Deuteranopia (green-blind)
#5B6F9C
Tritanopia (blue-blind)
#BC3662
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3299f;
/* rgb */ color: rgb(179, 41, 159);
/* oklch */ color: oklch(54.3% 0.211 334.9);
Tailwind
colors: {
  custom: {
    50: '#ce72bc',
    500: '#b3299f',
    950: '#000000',
  },
}
SCSS
$custom: #b3299f;
$custom-light: #ce72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b3299f",
  "rgb": {
    "r": 179,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 308.696,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54322,
    "c": 0.211,
    "h": 334.9
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#B3299F
secondary
#70C77D
accent
#E65A42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B3299F

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

Preview Lab → · Contrast checker → · Palette generator →

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