#B339AD#B339AD

#B339AD is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.4% C 0.204 H 330.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B339AD
RGBrgb(179, 57, 173)
HSLhsl(303, 52%, 46%)
HSVhsv(303, 68%, 70%)
CMYKcmyk(0%, 68.2%, 3.4%, 29.8%)
CIE-LABlab(46.35, 62.33, -37.01)
CIE-LCHlch(46.35, 72.49, 329.30°)
OKLaboklab(56.42% 0.1763 -0.102)
OKLCHoklch(56.42% 0.204 330)
XYZxyz(27.5962, 15.5291, 41.0710)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339AD #39B33F
analogous
#7C39B3 #B339AD #B33970
triadic
#B339AD #ADB339 #39ADB3
tetradic
#B339AD #B37C39 #39B33F #3970B3
square
#B339AD #B37C39 #39B33F #3970B3
split-complementary
#B339AD #70B339 #39B37C
monochromatic
#561B53 #852A80 #B339AD #CC5EC6 #DA8CD7

Accessibility & contrast

On white

5.12
#B339AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B339AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339AD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339AD#FFFFFF#000000##FFFFFF
##B339AD1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63B0
Deuteranopia (green-blind)
#5B74AA
Tritanopia (blue-blind)
#BA486E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b339ad;
/* rgb */ color: rgb(179, 57, 173);
/* oklch */ color: oklch(56.4% 0.204 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd7ac6',
    500: '#b339ad',
    950: '#000000',
  },
}
SCSS
$custom: #b339ad;
$custom-light: #cd7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#b339ad",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 173
  },
  "hsl": {
    "h": 302.951,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56416,
    "c": 0.20371,
    "h": 330
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#B339AD
secondary
#83C586
accent
#DB544D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B339AD

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

Preview Lab → · Contrast checker → · Palette generator →

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