#B339D1#B339D1

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

Color values

HEX#B339D1
RGBrgb(179, 57, 209)
HSLhsl(288, 62%, 52%)
HSVhsv(288, 73%, 82%)
CMYKcmyk(14.4%, 72.7%, 0%, 18%)
CIE-LABlab(48.40, 68.63, -54.68)
CIE-LCHlch(48.40, 87.75, 321.45°)
OKLaboklab(58.55% 0.1756 -0.1535)
OKLCHoklch(58.55% 0.233 318.8)
XYZxyz(31.5606, 17.1149, 61.9503)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339D1 #57D139
analogous
#6739D1 #B339D1 #D139A3
triadic
#B339D1 #D1B339 #39D1B3
tetradic
#B339D1 #D16739 #57D139 #39A3D1
square
#B339D1 #D16739 #57D139 #39A3D1
split-complementary
#B339D1 #A3D139 #39D167
monochromatic
#631B75 #8D27A6 #B339D1 #C66BDD #D99CE8

Accessibility & contrast

On white

4.75
#B339D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B339D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339D1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339D1#FFFFFF#000000##FFFFFF
##B339D11.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#4377CE
Tritanopia (blue-blind)
#B35882
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b339d1;
/* rgb */ color: rgb(179, 57, 209);
/* oklch */ color: oklch(58.5% 0.233 318.8);
Tailwind
colors: {
  custom: {
    50: '#ce7be0',
    500: '#b339d1',
    950: '#000000',
  },
}
SCSS
$custom: #b339d1;
$custom-light: #ce7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#b339d1",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 288.158,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58548,
    "c": 0.2332,
    "h": 318.8
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#B339D1
secondary
#9FD492
accent
#E54263
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B339D1

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

Preview Lab → · Contrast checker → · Palette generator →

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