#B339BD#B339BD

#B339BD is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.217 H 324.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B339BD
RGBrgb(179, 57, 189)
HSLhsl(295, 54%, 48%)
HSVhsv(295, 70%, 74%)
CMYKcmyk(5.3%, 69.8%, 0%, 25.9%)
CIE-LABlab(47.22, 65.04, -45.01)
CIE-LCHlch(47.22, 79.10, 325.31°)
OKLaboklab(57.32% 0.1766 -0.1252)
OKLCHoklch(57.32% 0.217 324.7)
XYZxyz(29.2381, 16.1859, 49.7184)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339BD #43BD39
analogous
#7139BD #B339BD #BD3985
triadic
#B339BD #BDB339 #39BDB3
tetradic
#B339BD #BD7139 #43BD39 #3985BD
square
#B339BD #BD7139 #43BD39 #3985BD
split-complementary
#B339BD #85BD39 #39BD71
monochromatic
#5A1D5F #862B8E #B339BD #C863D0 #D892DE

Accessibility & contrast

On white

4.96
#B339BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B339BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339BD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339BD#FFFFFF#000000##FFFFFF
##B339BD1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C1
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#B74F77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b339bd;
/* rgb */ color: rgb(179, 57, 189);
/* oklch */ color: oklch(57.3% 0.217 324.7);
Tailwind
colors: {
  custom: {
    50: '#cd7ad1',
    500: '#b339bd',
    950: '#000000',
  },
}
SCSS
$custom: #b339bd;
$custom-light: #cd7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b339bd",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 295.455,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.21653,
    "h": 324.7
  },
  "luminance": 0.16184
}

Semantic roles & 50–950 ramp

primary
#B339BD
secondary
#8DC989
accent
#DD4B56
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B339BD

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

Preview Lab → · Contrast checker → · Palette generator →

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