#B339C4#B339C4

#B339C4 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.222 H 322.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B339C4
RGBrgb(179, 57, 196)
HSLhsl(293, 55%, 50%)
HSVhsv(293, 71%, 77%)
CMYKcmyk(8.7%, 70.9%, 0%, 23.1%)
CIE-LABlab(47.62, 66.27, -48.44)
CIE-LCHlch(47.62, 82.09, 323.83°)
OKLaboklab(57.74% 0.1764 -0.1352)
OKLCHoklch(57.74% 0.222 322.5)
XYZxyz(30.0163, 16.4972, 53.8171)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339C4 #4AC439
analogous
#6E39C4 #B339C4 #C43990
triadic
#B339C4 #C4B339 #39C4B3
tetradic
#B339C4 #C46E39 #4AC439 #3990C4
square
#B339C4 #C46E39 #4AC439 #3990C4
split-complementary
#B339C4 #90C439 #39C46E
monochromatic
#5C1D65 #882B95 #B339C4 #C667D3 #D897E1

Accessibility & contrast

On white

4.88
#B339C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B339C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339C4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339C4#FFFFFF#000000##FFFFFF
##B339C41.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#4D76C1
Tritanopia (blue-blind)
#B5527B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b339c4;
/* rgb */ color: rgb(179, 57, 196);
/* oklch */ color: oklch(57.7% 0.222 322.5);
Tailwind
colors: {
  custom: {
    50: '#ce7bd6',
    500: '#b339c4',
    950: '#000000',
  },
}
SCSS
$custom: #b339c4;
$custom-light: #ce7bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#b339c4",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 292.662,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.2223,
    "h": 322.5
  },
  "luminance": 0.16495
}

Semantic roles & 50–950 ramp

primary
#B339C4
secondary
#94CC8D
accent
#DE4A5C
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B339C4

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

Preview Lab → · Contrast checker → · Palette generator →

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