#B3309F#B3309F

#B3309F is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.204 H 335.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B3309F
RGBrgb(179, 48, 159)
HSLhsl(309, 58%, 45%)
HSVhsv(309, 73%, 70%)
CMYKcmyk(0%, 73.2%, 11.2%, 29.8%)
CIE-LABlab(44.52, 63.31, -31.56)
CIE-LCHlch(44.52, 70.74, 333.50°)
OKLaboklab(54.87% 0.1846 -0.0863)
OKLCHoklch(54.87% 0.204 335)
XYZxyz(25.9057, 14.2031, 34.1713)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3309F #30B344
analogous
#8530B3 #B3309F #B3305E
triadic
#B3309F #9FB330 #309FB3
tetradic
#B3309F #B38530 #30B344 #305EB3
square
#B3309F #B38530 #30B344 #305EB3
split-complementary
#B3309F #5EB330 #30B385
monochromatic
#521649 #832374 #B3309F #D050BD #DD80CF

Accessibility & contrast

On white

5.47
#B3309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B3309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3309F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3309F#FFFFFF#000000##FFFFFF
##B3309F1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#5E709C
Tritanopia (blue-blind)
#BC3B64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b3309f;
/* rgb */ color: rgb(179, 48, 159);
/* oklch */ color: oklch(54.9% 0.204 335.0);
Tailwind
colors: {
  custom: {
    50: '#cd75bb',
    500: '#b3309f',
    950: '#000000',
  },
}
SCSS
$custom: #b3309f;
$custom-light: #cd75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3309f",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 309.16,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.20376,
    "h": 335
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3309F

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

Preview Lab → · Contrast checker → · Palette generator →

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