#B339B0#B339B0

#B339B0 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.206 H 328.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B339B0
RGBrgb(179, 57, 176)
HSLhsl(301, 52%, 46%)
HSVhsv(301, 68%, 70%)
CMYKcmyk(0%, 68.2%, 1.7%, 29.8%)
CIE-LABlab(46.51, 62.83, -38.53)
CIE-LCHlch(46.51, 73.70, 328.48°)
OKLaboklab(56.58% 0.1765 -0.1064)
OKLCHoklch(56.58% 0.206 328.9)
XYZxyz(27.8897, 15.6466, 42.6170)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339B0 #39B33C
analogous
#7939B3 #B339B0 #B33973
triadic
#B339B0 #B0B339 #39B0B3
tetradic
#B339B0 #B37939 #39B33C #3973B3
square
#B339B0 #B37939 #39B33C #3973B3
split-complementary
#B339B0 #73B339 #39B379
monochromatic
#561B55 #852A82 #B339B0 #CC5EC9 #DA8CD8

Accessibility & contrast

On white

5.09
#B339B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B339B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339B0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339B0#FFFFFF#000000##FFFFFF
##B339B01.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B3
Deuteranopia (green-blind)
#5A74AD
Tritanopia (blue-blind)
#B94970
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b339b0;
/* rgb */ color: rgb(179, 57, 176);
/* oklch */ color: oklch(56.6% 0.206 328.9);
Tailwind
colors: {
  custom: {
    50: '#cd7ac8',
    500: '#b339b0',
    950: '#000000',
  },
}
SCSS
$custom: #b339b0;
$custom-light: #cd7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#b339b0",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 301.475,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5658,
    "c": 0.20606,
    "h": 328.9
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#B339B0
secondary
#83C585
accent
#DB504D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B339B0

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

Preview Lab → · Contrast checker → · Palette generator →

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