#B336AA#B336AA

#B336AA is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.205 H 331.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B336AA
RGBrgb(179, 54, 170)
HSLhsl(304, 54%, 46%)
HSVhsv(304, 70%, 70%)
CMYKcmyk(0%, 69.8%, 5%, 29.8%)
CIE-LABlab(45.81, 62.94, -36.09)
CIE-LCHlch(45.81, 72.56, 330.17°)
OKLaboklab(55.97% 0.1793 -0.0993)
OKLCHoklch(55.97% 0.205 331)
XYZxyz(27.1652, 15.1264, 39.5114)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336AA #36B33F
analogous
#7D36B3 #B336AA #B3366B
triadic
#B336AA #AAB336 #36AAB3
tetradic
#B336AA #B37D36 #36B33F #366BB3
square
#B336AA #B37D36 #36B33F #366BB3
split-complementary
#B336AA #6BB336 #36B37D
monochromatic
#551A51 #84287D #B336AA #CD59C5 #DB88D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B336AA#FFFFFF#000000##FFFFFF
##B336AA1.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)
#2C61AD
Deuteranopia (green-blind)
#5B73A7
Tritanopia (blue-blind)
#BA446C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b336aa;
/* rgb */ color: rgb(179, 54, 170);
/* oklch */ color: oklch(56.0% 0.205 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd78c4',
    500: '#b336aa',
    950: '#000000',
  },
}
SCSS
$custom: #b336aa;
$custom-light: #cd78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b336aa",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 304.32,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55974,
    "c": 0.205,
    "h": 331
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#B336AA
secondary
#80C585
accent
#DD554B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B336AA

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

Preview Lab → · Contrast checker → · Palette generator →

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