#B3299E#B3299E

#B3299E is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.210 H 335.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B3299E
RGBrgb(179, 41, 158)
HSLhsl(309, 63%, 43%)
HSVhsv(309, 77%, 70%)
CMYKcmyk(0%, 77.1%, 11.7%, 29.8%)
CIE-LABlab(43.71, 65.33, -32.24)
CIE-LCHlch(43.71, 72.85, 333.74°)
OKLaboklab(54.27% 0.191 -0.0881)
OKLCHoklch(54.27% 0.21 335.2)
XYZxyz(25.5553, 13.6405, 33.6281)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3299E #29B33E
analogous
#8329B3 #B3299E #B32959
triadic
#B3299E #9EB329 #299EB3
tetradic
#B3299E #B38329 #29B33E #2959B3
square
#B3299E #B38329 #29B33E #2959B3
split-complementary
#B3299E #59B329 #29B383
monochromatic
#4F1246 #811E72 #B3299E #D445BF #E077D0

Accessibility & contrast

On white

5.63
#B3299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3299E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3299E#FFFFFF#000000##FFFFFF
##B3299E1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA1
Deuteranopia (green-blind)
#5C6E9B
Tritanopia (blue-blind)
#BC3562
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3299e;
/* rgb */ color: rgb(179, 41, 158);
/* oklch */ color: oklch(54.3% 0.210 335.2);
Tailwind
colors: {
  custom: {
    50: '#ce72bb',
    500: '#b3299e',
    950: '#000000',
  },
}
SCSS
$custom: #b3299e;
$custom-light: #ce72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3299e",
  "rgb": {
    "r": 179,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 309.13,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5427,
    "c": 0.21031,
    "h": 335.2
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#B3299E
secondary
#70C77E
accent
#E65B42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B3299E

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

Preview Lab → · Contrast checker → · Palette generator →

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