#B336A6#B336A6

#B336A6 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.202 H 332.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B336A6
RGBrgb(179, 54, 166)
HSLhsl(306, 54%, 46%)
HSVhsv(306, 70%, 70%)
CMYKcmyk(0%, 69.8%, 7.3%, 29.8%)
CIE-LABlab(45.60, 62.31, -34.04)
CIE-LCHlch(45.60, 71.00, 331.35°)
OKLaboklab(55.76% 0.1791 -0.0934)
OKLCHoklch(55.76% 0.202 332.4)
XYZxyz(26.7926, 14.9774, 37.5488)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336A6 #36B343
analogous
#8136B3 #B336A6 #B33667
triadic
#B336A6 #A6B336 #36A6B3
tetradic
#B336A6 #B38136 #36B343 #3667B3
square
#B336A6 #B38136 #36B343 #3667B3
split-complementary
#B336A6 #67B336 #36B381
monochromatic
#551A4F #84287A #B336A6 #CD59C1 #DB88D3

Accessibility & contrast

On white

5.26
#B336A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B336A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336A6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336A6#FFFFFF#000000##FFFFFF
##B336A61.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061A9
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#BB426A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b336a6;
/* rgb */ color: rgb(179, 54, 166);
/* oklch */ color: oklch(55.8% 0.202 332.4);
Tailwind
colors: {
  custom: {
    50: '#cd78c1',
    500: '#b336a6',
    950: '#000000',
  },
}
SCSS
$custom: #b336a6;
$custom-light: #cd78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b336a6",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 306.24,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55761,
    "c": 0.20197,
    "h": 332.4
  },
  "luminance": 0.14975
}

Semantic roles & 50–950 ramp

primary
#B336A6
secondary
#80C587
accent
#DD5A4B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B336A6

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

Preview Lab → · Contrast checker → · Palette generator →

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