#B336AF#B336AF

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

Color values

HEX#B336AF
RGBrgb(179, 54, 175)
HSLhsl(302, 54%, 46%)
HSVhsv(302, 70%, 70%)
CMYKcmyk(0%, 69.8%, 2.2%, 29.8%)
CIE-LABlab(46.07, 63.75, -38.63)
CIE-LCHlch(46.07, 74.54, 328.79°)
OKLaboklab(56.25% 0.1795 -0.1067)
OKLCHoklch(56.25% 0.209 329.3)
XYZxyz(27.6472, 15.3192, 42.0499)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336AF #36B33A
analogous
#7836B3 #B336AF #B33670
triadic
#B336AF #AFB336 #36AFB3
tetradic
#B336AF #B37836 #36B33A #3670B3
square
#B336AF #B37836 #36B33A #3670B3
split-complementary
#B336AF #70B336 #36B378
monochromatic
#551A53 #842881 #B336AF #CD59C9 #DB88D9

Accessibility & contrast

On white

5.17
#B336AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B336AF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336AF#FFFFFF#000000##FFFFFF
##B336AF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#B9476F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b336af;
/* rgb */ color: rgb(179, 54, 175);
/* oklch */ color: oklch(56.2% 0.209 329.3);
Tailwind
colors: {
  custom: {
    50: '#cd78c7',
    500: '#b336af',
    950: '#000000',
  },
}
SCSS
$custom: #b336af;
$custom-light: #cd78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b336af",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 301.92,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56247,
    "c": 0.20885,
    "h": 329.3
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B336AF

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

Preview Lab → · Contrast checker → · Palette generator →

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