#B339C2#B339C2

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

Color values

HEX#B339C2
RGBrgb(179, 57, 194)
HSLhsl(293, 55%, 49%)
HSVhsv(293, 71%, 76%)
CMYKcmyk(7.7%, 70.6%, 0%, 23.9%)
CIE-LABlab(47.50, 65.91, -47.47)
CIE-LCHlch(47.50, 81.23, 324.24°)
OKLaboklab(57.62% 0.1765 -0.1324)
OKLCHoklch(57.62% 0.221 323.1)
XYZxyz(29.7902, 16.4067, 52.6262)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339C2 #48C239
analogous
#6F39C2 #B339C2 #C2398D
triadic
#B339C2 #C2B339 #39C2B3
tetradic
#B339C2 #C26F39 #48C239 #398DC2
square
#B339C2 #C26F39 #48C239 #398DC2
split-complementary
#B339C2 #8DC239 #39C26F
monochromatic
#5C1D63 #872B93 #B339C2 #C666D2 #D895E0

Accessibility & contrast

On white

4.91
#B339C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B339C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339C2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339C2#FFFFFF#000000##FFFFFF
##B339C21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0468C6
Deuteranopia (green-blind)
#4F75BF
Tritanopia (blue-blind)
#B6517A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b339c2;
/* rgb */ color: rgb(179, 57, 194);
/* oklch */ color: oklch(57.6% 0.221 323.1);
Tailwind
colors: {
  custom: {
    50: '#cd7bd5',
    500: '#b339c2',
    950: '#000000',
  },
}
SCSS
$custom: #b339c2;
$custom-light: #cd7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b339c2",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 293.431,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57617,
    "c": 0.22064,
    "h": 323.1
  },
  "luminance": 0.16405
}

Semantic roles & 50–950 ramp

primary
#B339C2
secondary
#92CB8B
accent
#DE4A5A
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B339C2

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

Preview Lab → · Contrast checker → · Palette generator →

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