#B339A3#B339A3

#B339A3 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.196 H 333.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B339A3
RGBrgb(179, 57, 163)
HSLhsl(308, 52%, 46%)
HSVhsv(308, 68%, 70%)
CMYKcmyk(0%, 68.2%, 8.9%, 29.8%)
CIE-LABlab(45.85, 60.73, -31.87)
CIE-LCHlch(45.85, 68.59, 332.31°)
OKLaboklab(55.89% 0.1756 -0.0872)
OKLCHoklch(55.89% 0.196 333.6)
XYZxyz(26.6645, 15.1565, 36.1644)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339A3 #39B349
analogous
#8639B3 #B339A3 #B33966
triadic
#B339A3 #A3B339 #39A3B3
tetradic
#B339A3 #B38639 #39B349 #3966B3
square
#B339A3 #B38639 #39B349 #3966B3
split-complementary
#B339A3 #66B339 #39B386
monochromatic
#561B4E #852A79 #B339A3 #CC5EBD #DA8CD0

Accessibility & contrast

On white

5.21
#B339A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B339A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339A3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339A3#FFFFFF#000000##FFFFFF
##B339A31.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#BB4369
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b339a3;
/* rgb */ color: rgb(179, 57, 163);
/* oklch */ color: oklch(55.9% 0.196 333.6);
Tailwind
colors: {
  custom: {
    50: '#cd79be',
    500: '#b339a3',
    950: '#000000',
  },
}
SCSS
$custom: #b339a3;
$custom-light: #cd79be;
$custom-dark: #000000;
JSON
{
  "hex": "#b339a3",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 163
  },
  "hsl": {
    "h": 307.869,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5589,
    "c": 0.19605,
    "h": 333.6
  },
  "luminance": 0.15154
}

Semantic roles & 50–950 ramp

primary
#B339A3
secondary
#83C58C
accent
#DB5F4D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B339A3

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

Preview Lab → · Contrast checker → · Palette generator →

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