#B6339E#B6339E

#B6339E is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.5% C 0.201 H 336.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B6339E
RGBrgb(182, 51, 158)
HSLhsl(311, 56%, 46%)
HSVhsv(311, 72%, 71%)
CMYKcmyk(0%, 72%, 13.2%, 28.6%)
CIE-LABlab(45.34, 62.86, -29.66)
CIE-LCHlch(45.34, 69.51, 334.74°)
OKLaboklab(55.54% 0.1845 -0.0807)
OKLCHoklch(55.54% 0.201 336.4)
XYZxyz(26.6472, 14.7838, 33.7913)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6339E #33B64B
analogous
#8C33B6 #B6339E #B6335D
triadic
#B6339E #9EB633 #339EB6
tetradic
#B6339E #B68C33 #33B64B #335DB6
square
#B6339E #B68C33 #33B64B #335DB6
split-complementary
#B6339E #5DB633 #33B68C
monochromatic
#56184B #862674 #B6339E #D056BA #DD86CD

Accessibility & contrast

On white

5.31
#B6339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B6339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6339E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6339E#FFFFFF#000000##FFFFFF
##B6339E1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA1
Deuteranopia (green-blind)
#62729B
Tritanopia (blue-blind)
#BF3C65
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b6339e;
/* rgb */ color: rgb(182, 51, 158);
/* oklch */ color: oklch(55.5% 0.201 336.4);
Tailwind
colors: {
  custom: {
    50: '#d077bb',
    500: '#b6339e',
    950: '#000000',
  },
}
SCSS
$custom: #b6339e;
$custom-light: #d077bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b6339e",
  "rgb": {
    "r": 182,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 310.992,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.20141,
    "h": 336.4
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#B6339E
secondary
#7EC78B
accent
#E06448
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B6339E

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

Preview Lab → · Contrast checker → · Palette generator →

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