#B339C7#B339C7

#B339C7 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.225 H 321.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B339C7
RGBrgb(179, 57, 199)
HSLhsl(292, 56%, 50%)
HSVhsv(292, 71%, 78%)
CMYKcmyk(10.1%, 71.4%, 0%, 22%)
CIE-LABlab(47.80, 66.81, -49.90)
CIE-LCHlch(47.80, 83.38, 323.25°)
OKLaboklab(57.92% 0.1763 -0.1395)
OKLCHoklch(57.92% 0.225 321.6)
XYZxyz(30.3612, 16.6351, 55.6334)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339C7 #4DC739
analogous
#6C39C7 #B339C7 #C73994
triadic
#B339C7 #C7B339 #39C7B3
tetradic
#B339C7 #C76C39 #4DC739 #3994C7
square
#B339C7 #C76C39 #4DC739 #3994C7
split-complementary
#B339C7 #94C739 #39C76C
monochromatic
#5E1D68 #892B98 #B339C7 #C569D4 #D898E2

Accessibility & contrast

On white

4.85
#B339C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B339C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339C7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339C7#FFFFFF#000000##FFFFFF
##B339C71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#B5537D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b339c7;
/* rgb */ color: rgb(179, 57, 199);
/* oklch */ color: oklch(57.9% 0.225 321.6);
Tailwind
colors: {
  custom: {
    50: '#ce7bd9',
    500: '#b339c7',
    950: '#000000',
  },
}
SCSS
$custom: #b339c7;
$custom-light: #ce7bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b339c7",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 291.549,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.2248,
    "h": 321.6
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#B339C7
secondary
#97CE8E
accent
#DF495E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A15
muted
#837C83

Preview Lab

Preview with #B339C7

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

Preview Lab → · Contrast checker → · Palette generator →

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