#B3309E#B3309E

#B3309E is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.203 H 335.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B3309E
RGBrgb(179, 48, 158)
HSLhsl(310, 58%, 45%)
HSVhsv(310, 73%, 70%)
CMYKcmyk(0%, 73.2%, 11.7%, 29.8%)
CIE-LABlab(44.47, 63.16, -31.04)
CIE-LCHlch(44.47, 70.38, 333.83°)
OKLaboklab(54.82% 0.1845 -0.0848)
OKLCHoklch(54.82% 0.203 335.3)
XYZxyz(25.8192, 14.1685, 33.7161)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3309E #30B345
analogous
#8630B3 #B3309E #B3305D
triadic
#B3309E #9EB330 #309EB3
tetradic
#B3309E #B38630 #30B345 #305DB3
square
#B3309E #B38630 #30B345 #305DB3
split-complementary
#B3309E #5DB330 #30B386
monochromatic
#521649 #832373 #B3309E #D050BC #DD80CE

Accessibility & contrast

On white

5.48
#B3309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B3309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3309E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3309E#FFFFFF#000000##FFFFFF
##B3309E1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA1
Deuteranopia (green-blind)
#5E709B
Tritanopia (blue-blind)
#BC3A64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b3309e;
/* rgb */ color: rgb(179, 48, 158);
/* oklch */ color: oklch(54.8% 0.203 335.3);
Tailwind
colors: {
  custom: {
    50: '#cd75bb',
    500: '#b3309e',
    950: '#000000',
  },
}
SCSS
$custom: #b3309e;
$custom-light: #cd75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3309e",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 309.618,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54817,
    "c": 0.20306,
    "h": 335.3
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#B3309E
secondary
#79C685
accent
#E16047
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B3309E

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

Preview Lab → · Contrast checker → · Palette generator →

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