#B339B2#B339B2

#B339B2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.208 H 328.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B339B2
RGBrgb(179, 57, 178)
HSLhsl(300, 52%, 46%)
HSVhsv(300, 68%, 70%)
CMYKcmyk(0%, 68.2%, 0.6%, 29.8%)
CIE-LABlab(46.61, 63.16, -39.54)
CIE-LCHlch(46.61, 74.51, 327.96°)
OKLaboklab(56.69% 0.1766 -0.1093)
OKLCHoklch(56.69% 0.208 328.2)
XYZxyz(28.0891, 15.7263, 43.6669)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339B2 #39B33A
analogous
#7739B3 #B339B2 #B33975
triadic
#B339B2 #B2B339 #39B2B3
tetradic
#B339B2 #B37739 #39B33A #3975B3
square
#B339B2 #B37739 #39B33A #3975B3
split-complementary
#B339B2 #75B339 #39B377
monochromatic
#561B56 #852A84 #B339B2 #CC5ECB #DA8CDA

Accessibility & contrast

On white

5.07
#B339B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B339B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339B2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339B2#FFFFFF#000000##FFFFFF
##B339B21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#B94A71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b339b2;
/* rgb */ color: rgb(179, 57, 178);
/* oklch */ color: oklch(56.7% 0.208 328.2);
Tailwind
colors: {
  custom: {
    50: '#cd7ac9',
    500: '#b339b2',
    950: '#000000',
  },
}
SCSS
$custom: #b339b2;
$custom-light: #cd7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#b339b2",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 300.492,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.20766,
    "h": 328.2
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#B339B2
secondary
#83C583
accent
#DB4E4D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B339B2

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

Preview Lab → · Contrast checker → · Palette generator →

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