#B3339F#B3339F

#B3339F is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.1% C 0.200 H 335.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B3339F
RGBrgb(179, 51, 159)
HSLhsl(309, 56%, 45%)
HSVhsv(309, 72%, 70%)
CMYKcmyk(0%, 71.5%, 11.2%, 29.8%)
CIE-LABlab(44.88, 62.29, -31.00)
CIE-LCHlch(44.88, 69.58, 333.54°)
OKLaboklab(55.13% 0.1816 -0.0847)
OKLCHoklch(55.13% 0.2 335)
XYZxyz(26.0325, 14.4568, 34.2136)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3339F #33B347
analogous
#8733B3 #B3339F #B3335F
triadic
#B3339F #9FB333 #339FB3
tetradic
#B3339F #B38733 #33B347 #335FB3
square
#B3339F #B38733 #33B347 #335FB3
split-complementary
#B3339F #5FB333 #33B387
monochromatic
#54184A #832575 #B3339F #CE55BB #DC84CE

Accessibility & contrast

On white

5.40
#B3339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B3339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3339F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3339F#FFFFFF#000000##FFFFFF
##B3339F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA2
Deuteranopia (green-blind)
#5F719C
Tritanopia (blue-blind)
#BC3D65
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b3339f;
/* rgb */ color: rgb(179, 51, 159);
/* oklch */ color: oklch(55.1% 0.200 335.0);
Tailwind
colors: {
  custom: {
    50: '#cd77bb',
    500: '#b3339f',
    950: '#000000',
  },
}
SCSS
$custom: #b3339f;
$custom-light: #cd77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3339f",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 309.375,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55127,
    "c": 0.20037,
    "h": 335
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#B3339F
secondary
#7CC688
accent
#DF6049
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B3339F

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

Preview Lab → · Contrast checker → · Palette generator →

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