#B339B9#B339B9

#B339B9 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.213 H 325.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B339B9
RGBrgb(179, 57, 185)
HSLhsl(297, 53%, 47%)
HSVhsv(297, 69%, 73%)
CMYKcmyk(3.2%, 69.2%, 0%, 27.5%)
CIE-LABlab(46.99, 64.35, -43.04)
CIE-LCHlch(46.99, 77.41, 326.22°)
OKLaboklab(57.09% 0.1767 -0.1195)
OKLCHoklch(57.09% 0.213 325.9)
XYZxyz(28.8099, 16.0146, 47.4632)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339B9 #3FB939
analogous
#7339B9 #B339B9 #B9397F
triadic
#B339B9 #B9B339 #39B9B3
tetradic
#B339B9 #B97339 #3FB939 #397FB9
square
#B339B9 #B97339 #3FB939 #397FB9
split-complementary
#B339B9 #7FB939 #39B973
monochromatic
#581C5B #862B8A #B339B9 #C961CE #D990DD

Accessibility & contrast

On white

5.00
#B339B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B339B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339B9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339B9#FFFFFF#000000##FFFFFF
##B339B91.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BD
Deuteranopia (green-blind)
#5575B6
Tritanopia (blue-blind)
#B74D75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b339b9;
/* rgb */ color: rgb(179, 57, 185);
/* oklch */ color: oklch(57.1% 0.213 325.9);
Tailwind
colors: {
  custom: {
    50: '#cd7ace',
    500: '#b339b9',
    950: '#000000',
  },
}
SCSS
$custom: #b339b9;
$custom-light: #cd7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#b339b9",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 297.188,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57087,
    "c": 0.21327,
    "h": 325.9
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

primary
#B339B9
secondary
#89C886
accent
#DC4B52
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B339B9

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

Preview Lab → · Contrast checker → · Palette generator →

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