#B339D9#B339D9

#B339D9 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.1% C 0.240 H 316.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B339D9
RGBrgb(179, 57, 217)
HSLhsl(286, 68%, 54%)
HSVhsv(286, 74%, 85%)
CMYKcmyk(17.5%, 73.7%, 0%, 14.9%)
CIE-LABlab(48.91, 70.13, -58.45)
CIE-LCHlch(48.91, 91.29, 320.19°)
OKLaboklab(59.07% 0.1747 -0.1645)
OKLCHoklch(59.07% 0.24 316.7)
XYZxyz(32.5760, 17.5211, 67.2981)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339D9 #5FD939
analogous
#6339D9 #B339D9 #D939AF
triadic
#B339D9 #D9B339 #39D9B3
tetradic
#B339D9 #D96339 #5FD939 #39AFD9
square
#B339D9 #D96339 #5FD939 #39AFD9
split-complementary
#B339D9 #AFD939 #39D963
monochromatic
#67187F #9022B3 #B339D9 #C76CE3 #DAA0ED

Accessibility & contrast

On white

4.66
#B339D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B339D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B339D9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339D9#FFFFFF#000000##FFFFFF
##B339D91.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#3A78D5
Tritanopia (blue-blind)
#B15B87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b339d9;
/* rgb */ color: rgb(179, 57, 217);
/* oklch */ color: oklch(59.1% 0.240 316.7);
Tailwind
colors: {
  custom: {
    50: '#ce7be5',
    500: '#b339d9',
    950: '#000000',
  },
}
SCSS
$custom: #b339d9;
$custom-light: #ce7be5;
$custom-dark: #000000;
JSON
{
  "hex": "#b339d9",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 285.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59068,
    "c": 0.24,
    "h": 316.7
  },
  "luminance": 0.1752
}

Semantic roles & 50–950 ramp

primary
#B339D9
secondary
#A5D995
accent
#EB3D66
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B339D9

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

Preview Lab → · Contrast checker → · Palette generator →

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