#B339AA#B339AA

#B339AA is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.201 H 331.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B339AA
RGBrgb(179, 57, 170)
HSLhsl(304, 52%, 46%)
HSVhsv(304, 68%, 70%)
CMYKcmyk(0%, 68.2%, 5%, 29.8%)
CIE-LABlab(46.20, 61.85, -35.48)
CIE-LCHlch(46.20, 71.30, 330.16°)
OKLaboklab(56.26% 0.1762 -0.0976)
OKLCHoklch(56.26% 0.201 331)
XYZxyz(27.3092, 15.4143, 39.5593)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339AA #39B342
analogous
#7F39B3 #B339AA #B3396D
triadic
#B339AA #AAB339 #39AAB3
tetradic
#B339AA #B37F39 #39B342 #396DB3
square
#B339AA #B37F39 #39B342 #396DB3
split-complementary
#B339AA #6DB339 #39B37F
monochromatic
#561B52 #852A7E #B339AA #CC5EC3 #DA8CD5

Accessibility & contrast

On white

5.14
#B339AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B339AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339AA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339AA#FFFFFF#000000##FFFFFF
##B339AA1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#5D73A7
Tritanopia (blue-blind)
#BA466D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b339aa;
/* rgb */ color: rgb(179, 57, 170);
/* oklch */ color: oklch(56.3% 0.201 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd7ac3',
    500: '#b339aa',
    950: '#000000',
  },
}
SCSS
$custom: #b339aa;
$custom-light: #cd7ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#b339aa",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 304.426,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56255,
    "c": 0.20138,
    "h": 331
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#B339AA
secondary
#83C588
accent
#DB574D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B339AA

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

Preview Lab → · Contrast checker → · Palette generator →

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