#B339D0#B339D0

#B339D0 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.5% C 0.232 H 319.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B339D0
RGBrgb(179, 57, 208)
HSLhsl(288, 62%, 52%)
HSVhsv(288, 73%, 82%)
CMYKcmyk(13.9%, 72.6%, 0%, 18.4%)
CIE-LABlab(48.34, 68.45, -54.21)
CIE-LCHlch(48.34, 87.31, 321.62°)
OKLaboklab(58.48% 0.1757 -0.1521)
OKLCHoklch(58.48% 0.232 319.1)
XYZxyz(31.4372, 17.0655, 61.3003)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339D0 #56D039
analogous
#6839D0 #B339D0 #D039A2
triadic
#B339D0 #D0B339 #39D0B3
tetradic
#B339D0 #D06839 #56D039 #39A2D0
square
#B339D0 #D06839 #56D039 #39A2D0
split-complementary
#B339D0 #A2D039 #39D068
monochromatic
#621B73 #8D27A5 #B339D0 #C66ADC #D99CE7

Accessibility & contrast

On white

4.76
#B339D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B339D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339D0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339D0#FFFFFF#000000##FFFFFF
##B339D01.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#B35782
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b339d0;
/* rgb */ color: rgb(179, 57, 208);
/* oklch */ color: oklch(58.5% 0.232 319.1);
Tailwind
colors: {
  custom: {
    50: '#ce7bdf',
    500: '#b339d0',
    950: '#000000',
  },
}
SCSS
$custom: #b339d0;
$custom-light: #ce7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#b339d0",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 208
  },
  "hsl": {
    "h": 288.477,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58484,
    "c": 0.23236,
    "h": 319.1
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#B339D0
secondary
#9ED391
accent
#E54362
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B339D0

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

Preview Lab → · Contrast checker → · Palette generator →

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