#B3339E#B3339E

#B3339E is a mid, vivid purple. Relative luminance 0.144; OKLCH L 55.1% C 0.200 H 335.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B3339E
RGBrgb(179, 51, 158)
HSLhsl(310, 56%, 45%)
HSVhsv(310, 72%, 70%)
CMYKcmyk(0%, 71.5%, 11.7%, 29.8%)
CIE-LABlab(44.83, 62.14, -30.48)
CIE-LCHlch(44.83, 69.21, 333.87°)
OKLaboklab(55.08% 0.1815 -0.0832)
OKLCHoklch(55.08% 0.2 335.4)
XYZxyz(25.9461, 14.4223, 33.7584)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3339E #33B348
analogous
#8833B3 #B3339E #B3335E
triadic
#B3339E #9EB333 #339EB3
tetradic
#B3339E #B38833 #33B348 #335EB3
square
#B3339E #B38833 #33B348 #335EB3
split-complementary
#B3339E #5EB333 #33B388
monochromatic
#54184A #832574 #B3339E #CE55BB #DC84CE

Accessibility & contrast

On white

5.41
#B3339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B3339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3339E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3339E#FFFFFF#000000##FFFFFF
##B3339E1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA1
Deuteranopia (green-blind)
#60719B
Tritanopia (blue-blind)
#BC3D65
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b3339e;
/* rgb */ color: rgb(179, 51, 158);
/* oklch */ color: oklch(55.1% 0.200 335.4);
Tailwind
colors: {
  custom: {
    50: '#cd77bb',
    500: '#b3339e',
    950: '#000000',
  },
}
SCSS
$custom: #b3339e;
$custom-light: #cd77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3339e",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 309.844,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55076,
    "c": 0.19965,
    "h": 335.4
  },
  "luminance": 0.1442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3339E

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

Preview Lab → · Contrast checker → · Palette generator →

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