#B339AF#B339AF

#B339AF is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.205 H 329.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B339AF
RGBrgb(179, 57, 175)
HSLhsl(302, 52%, 46%)
HSVhsv(302, 68%, 70%)
CMYKcmyk(0%, 68.2%, 2.2%, 29.8%)
CIE-LABlab(46.45, 62.66, -38.02)
CIE-LCHlch(46.45, 73.29, 328.75°)
OKLaboklab(56.53% 0.1764 -0.1049)
OKLCHoklch(56.53% 0.205 329.3)
XYZxyz(27.7912, 15.6071, 42.0979)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339AF #39B33D
analogous
#7A39B3 #B339AF #B33972
triadic
#B339AF #AFB339 #39AFB3
tetradic
#B339AF #B37A39 #39B33D #3972B3
square
#B339AF #B37A39 #39B33D #3972B3
split-complementary
#B339AF #72B339 #39B37A
monochromatic
#561B54 #852A82 #B339AF #CC5EC8 #DA8CD8

Accessibility & contrast

On white

5.10
#B339AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B339AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339AF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339AF#FFFFFF#000000##FFFFFF
##B339AF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b339af;
/* rgb */ color: rgb(179, 57, 175);
/* oklch */ color: oklch(56.5% 0.205 329.3);
Tailwind
colors: {
  custom: {
    50: '#cd7ac7',
    500: '#b339af',
    950: '#000000',
  },
}
SCSS
$custom: #b339af;
$custom-light: #cd7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#b339af",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 301.967,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56525,
    "c": 0.20528,
    "h": 329.3
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B339AF

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

Preview Lab → · Contrast checker → · Palette generator →

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