#B336AD#B336AD

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

Color values

HEX#B336AD
RGBrgb(179, 54, 173)
HSLhsl(303, 54%, 46%)
HSVhsv(303, 70%, 70%)
CMYKcmyk(0%, 69.8%, 3.4%, 29.8%)
CIE-LABlab(45.96, 63.43, -37.62)
CIE-LCHlch(45.96, 73.74, 329.33°)
OKLaboklab(56.14% 0.1795 -0.1037)
OKLCHoklch(56.14% 0.207 330)
XYZxyz(27.4522, 15.2412, 41.0230)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336AD #36B33C
analogous
#7A36B3 #B336AD #B3366E
triadic
#B336AD #ADB336 #36ADB3
tetradic
#B336AD #B37A36 #36B33C #366EB3
square
#B336AD #B37A36 #36B33C #366EB3
split-complementary
#B336AD #6EB336 #36B37A
monochromatic
#551A52 #842880 #B336AD #CD59C7 #DB88D7

Accessibility & contrast

On white

5.19
#B336AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B336AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336AD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336AD#FFFFFF#000000##FFFFFF
##B336AD1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B0
Deuteranopia (green-blind)
#5A73AA
Tritanopia (blue-blind)
#BA466E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b336ad;
/* rgb */ color: rgb(179, 54, 173);
/* oklch */ color: oklch(56.1% 0.207 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd78c6',
    500: '#b336ad',
    950: '#000000',
  },
}
SCSS
$custom: #b336ad;
$custom-light: #cd78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b336ad",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 302.88,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56137,
    "c": 0.2073,
    "h": 330
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#B336AD
secondary
#80C583
accent
#DD524B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B336AD

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

Preview Lab → · Contrast checker → · Palette generator →

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