#B339A2#B339A2

#B339A2 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.8% C 0.195 H 334.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B339A2
RGBrgb(179, 57, 162)
HSLhsl(308, 52%, 46%)
HSVhsv(308, 68%, 70%)
CMYKcmyk(0%, 68.2%, 9.5%, 29.8%)
CIE-LABlab(45.80, 60.58, -31.35)
CIE-LCHlch(45.80, 68.21, 332.63°)
OKLaboklab(55.84% 0.1755 -0.0857)
OKLCHoklch(55.84% 0.195 334)
XYZxyz(26.5753, 15.1208, 35.6944)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339A2 #39B34A
analogous
#8739B3 #B339A2 #B33965
triadic
#B339A2 #A2B339 #39A2B3
tetradic
#B339A2 #B38739 #39B34A #3965B3
square
#B339A2 #B38739 #39B34A #3965B3
split-complementary
#B339A2 #65B339 #39B387
monochromatic
#561B4E #852A78 #B339A2 #CC5EBC #DA8CCF

Accessibility & contrast

On white

5.22
#B339A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B339A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339A2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339A2#FFFFFF#000000##FFFFFF
##B339A21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#BB4369
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b339a2;
/* rgb */ color: rgb(179, 57, 162);
/* oklch */ color: oklch(55.8% 0.195 334.0);
Tailwind
colors: {
  custom: {
    50: '#cd79be',
    500: '#b339a2',
    950: '#000000',
  },
}
SCSS
$custom: #b339a2;
$custom-light: #cd79be;
$custom-dark: #000000;
JSON
{
  "hex": "#b339a2",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 308.361,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55839,
    "c": 0.19531,
    "h": 334
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#B339A2
secondary
#83C58C
accent
#DB614D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B339A2

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

Preview Lab → · Contrast checker → · Palette generator →

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