#B336AE#B336AE

#B336AE is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.208 H 329.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B336AE
RGBrgb(179, 54, 174)
HSLhsl(302, 54%, 46%)
HSVhsv(302, 70%, 70%)
CMYKcmyk(0%, 69.8%, 2.8%, 29.8%)
CIE-LABlab(46.02, 63.59, -38.13)
CIE-LCHlch(46.02, 74.14, 329.06°)
OKLaboklab(56.19% 0.1795 -0.1052)
OKLCHoklch(56.19% 0.208 329.6)
XYZxyz(27.5494, 15.2801, 41.5345)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336AE #36B33B
analogous
#7936B3 #B336AE #B3366F
triadic
#B336AE #AEB336 #36AEB3
tetradic
#B336AE #B37936 #36B33B #366FB3
square
#B336AE #B37936 #36B33B #366FB3
split-complementary
#B336AE #6FB336 #36B379
monochromatic
#551A53 #842880 #B336AE #CD59C8 #DB88D8

Accessibility & contrast

On white

5.18
#B336AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B336AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336AE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336AE#FFFFFF#000000##FFFFFF
##B336AE1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#B9466E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b336ae;
/* rgb */ color: rgb(179, 54, 174);
/* oklch */ color: oklch(56.2% 0.208 329.6);
Tailwind
colors: {
  custom: {
    50: '#cd78c6',
    500: '#b336ae',
    950: '#000000',
  },
}
SCSS
$custom: #b336ae;
$custom-light: #cd78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b336ae",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 302.4,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56192,
    "c": 0.20807,
    "h": 329.6
  },
  "luminance": 0.15278
}

Semantic roles & 50–950 ramp

primary
#B336AE
secondary
#80C582
accent
#DD514B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B336AE

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

Preview Lab → · Contrast checker → · Palette generator →

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