#B339CC#B339CC

#B339CC is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.2% C 0.229 H 320.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B339CC
RGBrgb(179, 57, 204)
HSLhsl(290, 59%, 51%)
HSVhsv(290, 72%, 80%)
CMYKcmyk(12.3%, 72.1%, 0%, 20%)
CIE-LABlab(48.10, 67.71, -52.30)
CIE-LCHlch(48.10, 85.56, 322.32°)
OKLaboklab(58.23% 0.176 -0.1465)
OKLCHoklch(58.23% 0.229 320.2)
XYZxyz(30.9513, 16.8712, 58.7412)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339CC #52CC39
analogous
#6939CC #B339CC #CC399B
triadic
#B339CC #CCB339 #39CCB3
tetradic
#B339CC #CC6939 #52CC39 #399BCC
square
#B339CC #CC6939 #52CC39 #399BCC
split-complementary
#B339CC #9BCC39 #39CC69
monochromatic
#601C6E #8B299F #B339CC #C66AD9 #D89AE5

Accessibility & contrast

On white

4.80
#B339CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B339CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339CC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339CC#FFFFFF#000000##FFFFFF
##B339CC1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#4776C9
Tritanopia (blue-blind)
#B4557F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b339cc;
/* rgb */ color: rgb(179, 57, 204);
/* oklch */ color: oklch(58.2% 0.229 320.2);
Tailwind
colors: {
  custom: {
    50: '#ce7bdc',
    500: '#b339cc',
    950: '#000000',
  },
}
SCSS
$custom: #b339cc;
$custom-light: #ce7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b339cc",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 289.796,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.22898,
    "h": 320.2
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#B339CC
secondary
#9BD190
accent
#E24660
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B339CC

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

Preview Lab → · Contrast checker → · Palette generator →

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