#B339BC#B339BC

#B339BC is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.216 H 325.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B339BC
RGBrgb(179, 57, 188)
HSLhsl(296, 53%, 48%)
HSVhsv(296, 70%, 74%)
CMYKcmyk(4.8%, 69.7%, 0%, 26.3%)
CIE-LABlab(47.16, 64.86, -44.52)
CIE-LCHlch(47.16, 78.67, 325.53°)
OKLaboklab(57.26% 0.1767 -0.1238)
OKLCHoklch(57.26% 0.216 325)
XYZxyz(29.1299, 16.1426, 49.1487)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339BC #42BC39
analogous
#7139BC #B339BC #BC3983
triadic
#B339BC #BCB339 #39BCB3
tetradic
#B339BC #BC7139 #42BC39 #3983BC
square
#B339BC #BC7139 #42BC39 #3983BC
split-complementary
#B339BC #83BC39 #39BC71
monochromatic
#5A1D5E #862B8D #B339BC #C863D0 #D992DE

Accessibility & contrast

On white

4.97
#B339BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B339BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339BC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339BC#FFFFFF#000000##FFFFFF
##B339BC1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#B74E77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b339bc;
/* rgb */ color: rgb(179, 57, 188);
/* oklch */ color: oklch(57.3% 0.216 325.0);
Tailwind
colors: {
  custom: {
    50: '#cd7ad1',
    500: '#b339bc',
    950: '#000000',
  },
}
SCSS
$custom: #b339bc;
$custom-light: #cd7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b339bc",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 295.878,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57261,
    "c": 0.21572,
    "h": 325
  },
  "luminance": 0.16141
}

Semantic roles & 50–950 ramp

primary
#B339BC
secondary
#8CC988
accent
#DD4B55
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B339BC

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

Preview Lab → · Contrast checker → · Palette generator →

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