#B339BB#B339BB

#B339BB is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.215 H 325.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B339BB
RGBrgb(179, 57, 187)
HSLhsl(296, 53%, 48%)
HSVhsv(296, 70%, 73%)
CMYKcmyk(4.3%, 69.5%, 0%, 26.7%)
CIE-LABlab(47.10, 64.69, -44.03)
CIE-LCHlch(47.10, 78.25, 325.76°)
OKLaboklab(57.2% 0.1767 -0.1224)
OKLCHoklch(57.2% 0.215 325.3)
XYZxyz(29.0225, 16.0997, 48.5830)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339BB #41BB39
analogous
#7239BB #B339BB #BB3982
triadic
#B339BB #BBB339 #39BBB3
tetradic
#B339BB #BB7239 #41BB39 #3982BB
square
#B339BB #BB7239 #41BB39 #3982BB
split-complementary
#B339BB #82BB39 #39BB72
monochromatic
#591C5D #862B8C #B339BB #C862CF #D991DD

Accessibility & contrast

On white

4.98
#B339BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B339BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339BB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339BB#FFFFFF#000000##FFFFFF
##B339BB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#B74E76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b339bb;
/* rgb */ color: rgb(179, 57, 187);
/* oklch */ color: oklch(57.2% 0.215 325.3);
Tailwind
colors: {
  custom: {
    50: '#cd7ad0',
    500: '#b339bb',
    950: '#000000',
  },
}
SCSS
$custom: #b339bb;
$custom-light: #cd7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b339bb",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 296.308,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57203,
    "c": 0.2149,
    "h": 325.3
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#B339BB
secondary
#8BC887
accent
#DD4B54
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B339BB

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

Preview Lab → · Contrast checker → · Palette generator →

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