#B339CB#B339CB

#B339CB is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.228 H 320.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B339CB
RGBrgb(179, 57, 203)
HSLhsl(290, 58%, 51%)
HSVhsv(290, 72%, 80%)
CMYKcmyk(11.8%, 71.9%, 0%, 20.4%)
CIE-LABlab(48.04, 67.53, -51.82)
CIE-LCHlch(48.04, 85.12, 322.50°)
OKLaboklab(58.17% 0.176 -0.1451)
OKLCHoklch(58.17% 0.228 320.5)
XYZxyz(30.8317, 16.8234, 58.1116)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339CB #51CB39
analogous
#6A39CB #B339CB #CB399A
triadic
#B339CB #CBB339 #39CBB3
tetradic
#B339CB #CB6A39 #51CB39 #399ACB
square
#B339CB #CB6A39 #51CB39 #399ACB
split-complementary
#B339CB #9ACB39 #39CB6A
monochromatic
#601D6D #8A299D #B339CB #C669D8 #D89AE4

Accessibility & contrast

On white

4.81
#B339CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B339CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339CB#FFFFFF#000000##FFFFFF
##B339CB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#4876C8
Tritanopia (blue-blind)
#B4557F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b339cb;
/* rgb */ color: rgb(179, 57, 203);
/* oklch */ color: oklch(58.2% 0.228 320.5);
Tailwind
colors: {
  custom: {
    50: '#ce7bdb',
    500: '#b339cb',
    950: '#000000',
  },
}
SCSS
$custom: #b339cb;
$custom-light: #ce7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b339cb",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 290.137,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58169,
    "c": 0.22814,
    "h": 320.5
  },
  "luminance": 0.16822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B339CB

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

Preview Lab → · Contrast checker → · Palette generator →

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