#B336C1#B336C1

#B336C1 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.223 H 323.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B336C1
RGBrgb(179, 54, 193)
HSLhsl(294, 56%, 48%)
HSVhsv(294, 72%, 76%)
CMYKcmyk(7.3%, 72%, 0%, 24.3%)
CIE-LABlab(47.07, 66.80, -47.58)
CIE-LCHlch(47.07, 82.01, 324.54°)
OKLaboklab(57.29% 0.1795 -0.1327)
OKLCHoklch(57.29% 0.223 323.5)
XYZxyz(29.5343, 16.0741, 51.9887)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336C1 #44C136
analogous
#6D36C1 #B336C1 #C13689
triadic
#B336C1 #C1B336 #36C1B3
tetradic
#B336C1 #C16D36 #44C136 #3689C1
square
#B336C1 #C16D36 #44C136 #3689C1
split-complementary
#B336C1 #89C136 #36C16D
monochromatic
#5A1B61 #872991 #B336C1 #C761D3 #D891E0

Accessibility & contrast

On white

4.98
#B336C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B336C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336C1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336C1#FFFFFF#000000##FFFFFF
##B336C11.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#4E75BE
Tritanopia (blue-blind)
#B64F79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b336c1;
/* rgb */ color: rgb(179, 54, 193);
/* oklch */ color: oklch(57.3% 0.223 323.5);
Tailwind
colors: {
  custom: {
    50: '#ce79d4',
    500: '#b336c1',
    950: '#000000',
  },
}
SCSS
$custom: #b336c1;
$custom-light: #ce79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b336c1",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 293.957,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.22318,
    "h": 323.5
  },
  "luminance": 0.16072
}

Semantic roles & 50–950 ramp

primary
#B336C1
secondary
#8ECB88
accent
#E04857
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B336C1

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

Preview Lab → · Contrast checker → · Palette generator →

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