#B336C3#B336C3

#B336C3 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.225 H 322.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B336C3
RGBrgb(179, 54, 195)
HSLhsl(293, 57%, 49%)
HSVhsv(293, 72%, 76%)
CMYKcmyk(8.2%, 72.3%, 0%, 23.5%)
CIE-LABlab(47.19, 67.15, -48.55)
CIE-LCHlch(47.19, 82.86, 324.13°)
OKLaboklab(57.41% 0.1794 -0.1355)
OKLCHoklch(57.41% 0.225 322.9)
XYZxyz(29.7589, 16.1639, 53.1717)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336C3 #46C336
analogous
#6C36C3 #B336C3 #C3368D
triadic
#B336C3 #C3B336 #36C3B3
tetradic
#B336C3 #C36C36 #46C336 #368DC3
square
#B336C3 #C36C36 #46C336 #368DC3
split-complementary
#B336C3 #8DC336 #36C36C
monochromatic
#5B1B63 #872993 #B336C3 #C763D4 #D892E1

Accessibility & contrast

On white

4.96
#B336C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B336C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336C3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336C3#FFFFFF#000000##FFFFFF
##B336C31.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#4C75C0
Tritanopia (blue-blind)
#B6507A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b336c3;
/* rgb */ color: rgb(179, 54, 195);
/* oklch */ color: oklch(57.4% 0.225 322.9);
Tailwind
colors: {
  custom: {
    50: '#ce79d6',
    500: '#b336c3',
    950: '#000000',
  },
}
SCSS
$custom: #b336c3;
$custom-light: #ce79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b336c3",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 293.191,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.22481,
    "h": 322.9
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#B336C3
secondary
#90CC89
accent
#E04859
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B336C3

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

Preview Lab → · Contrast checker → · Palette generator →

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