#B339D6#B339D6

#B339D6 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.9% C 0.237 H 317.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B339D6
RGBrgb(179, 57, 214)
HSLhsl(287, 66%, 53%)
HSVhsv(287, 73%, 84%)
CMYKcmyk(16.4%, 73.4%, 0%, 16.1%)
CIE-LABlab(48.72, 69.56, -57.04)
CIE-LCHlch(48.72, 89.96, 320.65°)
OKLaboklab(58.87% 0.1751 -0.1604)
OKLCHoklch(58.87% 0.237 317.5)
XYZxyz(32.1894, 17.3664, 65.2618)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339D6 #5CD639
analogous
#6439D6 #B339D6 #D639AA
triadic
#B339D6 #D6B339 #39D6B3
tetradic
#B339D6 #D66439 #5CD639 #39AAD6
square
#B339D6 #D66439 #5CD639 #39AAD6
split-complementary
#B339D6 #AAD639 #39D664
monochromatic
#65197B #8F24AE #B339D6 #C66CE0 #DA9EEB

Accessibility & contrast

On white

4.69
#B339D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B339D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339D6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339D6#FFFFFF#000000##FFFFFF
##B339D61.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#3E77D3
Tritanopia (blue-blind)
#B25A85
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b339d6;
/* rgb */ color: rgb(179, 57, 214);
/* oklch */ color: oklch(58.9% 0.237 317.5);
Tailwind
colors: {
  custom: {
    50: '#ce7be3',
    500: '#b339d6',
    950: '#000000',
  },
}
SCSS
$custom: #b339d6;
$custom-light: #ce7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#b339d6",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 214
  },
  "hsl": {
    "h": 286.624,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58871,
    "c": 0.23745,
    "h": 317.5
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#B339D6
secondary
#A3D794
accent
#E93F65
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B339D6

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

Preview Lab → · Contrast checker → · Palette generator →

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