#B339C1#B339C1

#B339C1 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.220 H 323.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B339C1
RGBrgb(179, 57, 193)
HSLhsl(294, 54%, 49%)
HSVhsv(294, 70%, 76%)
CMYKcmyk(7.3%, 70.5%, 0%, 24.3%)
CIE-LABlab(47.45, 65.74, -46.98)
CIE-LCHlch(47.45, 80.80, 324.45°)
OKLaboklab(57.56% 0.1765 -0.131)
OKLCHoklch(57.56% 0.22 323.4)
XYZxyz(29.6783, 16.3620, 52.0367)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339C1 #47C139
analogous
#6F39C1 #B339C1 #C1398B
triadic
#B339C1 #C1B339 #39C1B3
tetradic
#B339C1 #C16F39 #47C139 #398BC1
square
#B339C1 #C16F39 #47C139 #398BC1
split-complementary
#B339C1 #8BC139 #39C16F
monochromatic
#5B1D63 #872B92 #B339C1 #C766D2 #D895E0

Accessibility & contrast

On white

4.92
#B339C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B339C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339C1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339C1#FFFFFF#000000##FFFFFF
##B339C11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0867C5
Deuteranopia (green-blind)
#5075BE
Tritanopia (blue-blind)
#B65179
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b339c1;
/* rgb */ color: rgb(179, 57, 193);
/* oklch */ color: oklch(57.6% 0.220 323.4);
Tailwind
colors: {
  custom: {
    50: '#cd7ad4',
    500: '#b339c1',
    950: '#000000',
  },
}
SCSS
$custom: #b339c1;
$custom-light: #cd7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#b339c1",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 293.824,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57557,
    "c": 0.21982,
    "h": 323.4
  },
  "luminance": 0.1636
}

Semantic roles & 50–950 ramp

primary
#B339C1
secondary
#91CB8B
accent
#DE4A59
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B339C1

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

Preview Lab → · Contrast checker → · Palette generator →

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