#B336B6#B336B6

#B336B6 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.214 H 327.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B336B6
RGBrgb(179, 54, 182)
HSLhsl(299, 54%, 46%)
HSVhsv(299, 70%, 71%)
CMYKcmyk(1.6%, 70.3%, 0%, 28.6%)
CIE-LABlab(46.45, 64.91, -42.15)
CIE-LCHlch(46.45, 77.40, 327.01°)
OKLaboklab(56.64% 0.1797 -0.1169)
OKLCHoklch(56.64% 0.214 327)
XYZxyz(28.3526, 15.6014, 45.7649)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336B6 #39B636
analogous
#7336B6 #B336B6 #B63679
triadic
#B336B6 #B6B336 #36B6B3
tetradic
#B336B6 #B67336 #39B636 #3679B6
square
#B336B6 #B67336 #39B636 #3679B6
split-complementary
#B336B6 #79B636 #36B673
monochromatic
#561A58 #852887 #B336B6 #CC5BCE #DA8ADC

Accessibility & contrast

On white

5.10
#B336B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B336B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336B6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336B6#FFFFFF#000000##FFFFFF
##B336B61.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C64BA
Deuteranopia (green-blind)
#5574B3
Tritanopia (blue-blind)
#B84A72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b336b6;
/* rgb */ color: rgb(179, 54, 182);
/* oklch */ color: oklch(56.6% 0.214 327.0);
Tailwind
colors: {
  custom: {
    50: '#cd79cc',
    500: '#b336b6',
    950: '#000000',
  },
}
SCSS
$custom: #b336b6;
$custom-light: #cd79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b336b6",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 298.594,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.21434,
    "h": 327
  },
  "luminance": 0.15599
}

Semantic roles & 50–950 ramp

primary
#B336B6
secondary
#83C681
accent
#DE4A4E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B336B6

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

Preview Lab → · Contrast checker → · Palette generator →

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