#B339BF#B339BF

#B339BF is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.218 H 324.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B339BF
RGBrgb(179, 57, 191)
HSLhsl(295, 54%, 49%)
HSVhsv(295, 70%, 75%)
CMYKcmyk(6.3%, 70.2%, 0%, 25.1%)
CIE-LABlab(47.33, 65.39, -46.00)
CIE-LCHlch(47.33, 79.94, 324.87°)
OKLaboklab(57.44% 0.1766 -0.1281)
OKLCHoklch(57.44% 0.218 324)
XYZxyz(29.4567, 16.2733, 50.8696)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339BF #45BF39
analogous
#7039BF #B339BF #BF3988
triadic
#B339BF #BFB339 #39BFB3
tetradic
#B339BF #BF7039 #45BF39 #3988BF
square
#B339BF #BF7039 #45BF39 #3988BF
split-complementary
#B339BF #88BF39 #39BF70
monochromatic
#5B1D61 #872B90 #B339BF #C764D1 #D893DF

Accessibility & contrast

On white

4.94
#B339BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B339BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339BF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339BF#FFFFFF#000000##FFFFFF
##B339BF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1067C3
Deuteranopia (green-blind)
#5175BC
Tritanopia (blue-blind)
#B65078
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b339bf;
/* rgb */ color: rgb(179, 57, 191);
/* oklch */ color: oklch(57.4% 0.218 324.0);
Tailwind
colors: {
  custom: {
    50: '#cd7ad3',
    500: '#b339bf',
    950: '#000000',
  },
}
SCSS
$custom: #b339bf;
$custom-light: #cd7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b339bf",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 294.627,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.21817,
    "h": 324
  },
  "luminance": 0.16272
}

Semantic roles & 50–950 ramp

primary
#B339BF
secondary
#8FCA8A
accent
#DD4A58
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B339BF

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

Preview Lab → · Contrast checker → · Palette generator →

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