#B339B7#B339B7

#B339B7 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.212 H 326.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B339B7
RGBrgb(179, 57, 183)
HSLhsl(298, 53%, 47%)
HSVhsv(298, 69%, 72%)
CMYKcmyk(2.2%, 68.9%, 0%, 28.2%)
CIE-LABlab(46.88, 64.00, -42.04)
CIE-LCHlch(46.88, 76.58, 326.70°)
OKLaboklab(56.97% 0.1767 -0.1166)
OKLCHoklch(56.97% 0.212 326.6)
XYZxyz(28.6003, 15.9308, 46.3591)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339B7 #3DB739
analogous
#7439B7 #B339B7 #B7397C
triadic
#B339B7 #B7B339 #39B7B3
tetradic
#B339B7 #B77439 #3DB739 #397CB7
square
#B339B7 #B77439 #3DB739 #397CB7
split-complementary
#B339B7 #7CB739 #39B774
monochromatic
#581C5A #852A88 #B339B7 #CA60CD #D98EDC

Accessibility & contrast

On white

5.02
#B339B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B339B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339B7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339B7#FFFFFF#000000##FFFFFF
##B339B71.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BB
Deuteranopia (green-blind)
#5674B4
Tritanopia (blue-blind)
#B84C74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b339b7;
/* rgb */ color: rgb(179, 57, 183);
/* oklch */ color: oklch(57.0% 0.212 326.6);
Tailwind
colors: {
  custom: {
    50: '#cd7acd',
    500: '#b339b7',
    950: '#000000',
  },
}
SCSS
$custom: #b339b7;
$custom-light: #cd7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#b339b7",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 298.095,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56973,
    "c": 0.21166,
    "h": 326.6
  },
  "luminance": 0.15929
}

Semantic roles & 50–950 ramp

primary
#B339B7
secondary
#87C785
accent
#DC4C50
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B339B7

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

Preview Lab → · Contrast checker → · Palette generator →

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