#B336A3#B336A3

#B336A3 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.6% C 0.200 H 333.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B336A3
RGBrgb(179, 54, 163)
HSLhsl(308, 54%, 46%)
HSVhsv(308, 70%, 70%)
CMYKcmyk(0%, 69.8%, 8.9%, 29.8%)
CIE-LABlab(45.45, 61.84, -32.49)
CIE-LCHlch(45.45, 69.86, 332.28°)
OKLaboklab(55.6% 0.1788 -0.089)
OKLCHoklch(55.6% 0.2 333.6)
XYZxyz(26.5206, 14.8686, 36.1164)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336A3 #36B346
analogous
#8436B3 #B336A3 #B33664
triadic
#B336A3 #A3B336 #36A3B3
tetradic
#B336A3 #B38436 #36B346 #3664B3
square
#B336A3 #B38436 #36B346 #3664B3
split-complementary
#B336A3 #64B336 #36B384
monochromatic
#551A4D #842878 #B336A3 #CD59BE #DB88D1

Accessibility & contrast

On white

5.29
#B336A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B336A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336A3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336A3#FFFFFF#000000##FFFFFF
##B336A31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A6
Deuteranopia (green-blind)
#5F72A0
Tritanopia (blue-blind)
#BB4168
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b336a3;
/* rgb */ color: rgb(179, 54, 163);
/* oklch */ color: oklch(55.6% 0.200 333.6);
Tailwind
colors: {
  custom: {
    50: '#cd78be',
    500: '#b336a3',
    950: '#000000',
  },
}
SCSS
$custom: #b336a3;
$custom-light: #cd78be;
$custom-dark: #000000;
JSON
{
  "hex": "#b336a3",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 163
  },
  "hsl": {
    "h": 307.68,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55604,
    "c": 0.19973,
    "h": 333.6
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#B336A3
secondary
#80C589
accent
#DD5D4B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B336A3

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

Preview Lab → · Contrast checker → · Palette generator →

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