#B339A6#B339A6

#B339A6 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.198 H 332.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B339A6
RGBrgb(179, 57, 166)
HSLhsl(306, 52%, 46%)
HSVhsv(306, 68%, 70%)
CMYKcmyk(0%, 68.2%, 7.3%, 29.8%)
CIE-LABlab(46.00, 61.20, -33.42)
CIE-LCHlch(46.00, 69.74, 331.36°)
OKLaboklab(56.04% 0.1759 -0.0917)
OKLCHoklch(56.04% 0.198 332.5)
XYZxyz(26.9365, 15.2653, 37.5968)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339A6 #39B346
analogous
#8339B3 #B339A6 #B33969
triadic
#B339A6 #A6B339 #39A6B3
tetradic
#B339A6 #B38339 #39B346 #3969B3
square
#B339A6 #B38339 #39B346 #3969B3
split-complementary
#B339A6 #69B339 #39B383
monochromatic
#561B50 #852A7B #B339A6 #CC5EC0 #DA8CD2

Accessibility & contrast

On white

5.18
#B339A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B339A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339A6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339A6#FFFFFF#000000##FFFFFF
##B339A61.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362A9
Deuteranopia (green-blind)
#5F73A3
Tritanopia (blue-blind)
#BB456B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b339a6;
/* rgb */ color: rgb(179, 57, 166);
/* oklch */ color: oklch(56.0% 0.198 332.5);
Tailwind
colors: {
  custom: {
    50: '#cd7ac1',
    500: '#b339a6',
    950: '#000000',
  },
}
SCSS
$custom: #b339a6;
$custom-light: #cd7ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#b339a6",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 166
  },
  "hsl": {
    "h": 306.393,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56044,
    "c": 0.19832,
    "h": 332.5
  },
  "luminance": 0.15263
}

Semantic roles & 50–950 ramp

primary
#B339A6
secondary
#83C58A
accent
#DB5C4D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B339A6

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

Preview Lab → · Contrast checker → · Palette generator →

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