#B339B8#B339B8

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

Color values

HEX#B339B8
RGBrgb(179, 57, 184)
HSLhsl(298, 53%, 47%)
HSVhsv(298, 69%, 72%)
CMYKcmyk(2.7%, 69%, 0%, 27.8%)
CIE-LABlab(46.94, 64.17, -42.54)
CIE-LCHlch(46.94, 76.99, 326.46°)
OKLaboklab(57.03% 0.1767 -0.118)
OKLCHoklch(57.03% 0.212 326.3)
XYZxyz(28.7047, 15.9725, 46.9092)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339B8 #3EB839
analogous
#7439B8 #B339B8 #B8397D
triadic
#B339B8 #B8B339 #39B8B3
tetradic
#B339B8 #B87439 #3EB839 #397DB8
square
#B339B8 #B87439 #3EB839 #397DB8
split-complementary
#B339B8 #7DB839 #39B874
monochromatic
#581C5B #862B89 #B339B8 #CA60CE #D98FDC

Accessibility & contrast

On white

5.01
#B339B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B339B8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339B8#FFFFFF#000000##FFFFFF
##B339B81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BC
Deuteranopia (green-blind)
#5575B5
Tritanopia (blue-blind)
#B84D74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b339b8;
/* rgb */ color: rgb(179, 57, 184);
/* oklch */ color: oklch(57.0% 0.212 326.3);
Tailwind
colors: {
  custom: {
    50: '#cd7ace',
    500: '#b339b8',
    950: '#000000',
  },
}
SCSS
$custom: #b339b8;
$custom-light: #cd7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#b339b8",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 297.638,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.21247,
    "h": 326.3
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#B339B8
secondary
#88C786
accent
#DC4C51
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B339B8

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

Preview Lab → · Contrast checker → · Palette generator →

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