#B336AC#B336AC

#B336AC is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.207 H 330.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B336AC
RGBrgb(179, 54, 172)
HSLhsl(303, 54%, 46%)
HSVhsv(303, 70%, 70%)
CMYKcmyk(0%, 69.8%, 3.9%, 29.8%)
CIE-LABlab(45.91, 63.27, -37.11)
CIE-LCHlch(45.91, 73.35, 329.61°)
OKLaboklab(56.08% 0.1794 -0.1023)
OKLCHoklch(56.08% 0.207 330.3)
XYZxyz(27.3558, 15.2027, 40.5153)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336AC #36B33D
analogous
#7B36B3 #B336AC #B3366D
triadic
#B336AC #ACB336 #36ACB3
tetradic
#B336AC #B37B36 #36B33D #366DB3
square
#B336AC #B37B36 #36B33D #366DB3
split-complementary
#B336AC #6DB336 #36B37B
monochromatic
#551A52 #84287F #B336AC #CD59C7 #DB88D7

Accessibility & contrast

On white

5.20
#B336AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B336AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336AC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336AC#FFFFFF#000000##FFFFFF
##B336AC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#5A73A9
Tritanopia (blue-blind)
#BA456D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b336ac;
/* rgb */ color: rgb(179, 54, 172);
/* oklch */ color: oklch(56.1% 0.207 330.3);
Tailwind
colors: {
  custom: {
    50: '#cd78c5',
    500: '#b336ac',
    950: '#000000',
  },
}
SCSS
$custom: #b336ac;
$custom-light: #cd78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b336ac",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 303.36,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.20653,
    "h": 330.3
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#B336AC
secondary
#80C584
accent
#DD534B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B336AC

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

Preview Lab → · Contrast checker → · Palette generator →

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