#B336B3#B336B3

#B336B3 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.212 H 327.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B336B3
RGBrgb(179, 54, 179)
HSLhsl(300, 54%, 46%)
HSVhsv(300, 70%, 70%)
CMYKcmyk(0%, 69.8%, 0%, 29.8%)
CIE-LABlab(46.28, 64.41, -40.65)
CIE-LCHlch(46.28, 76.17, 327.75°)
OKLaboklab(56.47% 0.1797 -0.1125)
OKLCHoklch(56.47% 0.212 327.9)
XYZxyz(28.0459, 15.4787, 44.1496)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336B3 #36B336
analogous
#7436B3 #B336B3 #B33674
triadic
#B336B3 #B3B336 #36B3B3
tetradic
#B336B3 #B37436 #36B336 #3674B3
square
#B336B3 #B37436 #36B336 #3674B3
split-complementary
#B336B3 #74B336 #36B374
monochromatic
#551A55 #842884 #B336B3 #CD59CD #DB88DB

Accessibility & contrast

On white

5.13
#B336B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B336B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336B3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336B3#FFFFFF#000000##FFFFFF
##B336B31.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B7
Deuteranopia (green-blind)
#5773B0
Tritanopia (blue-blind)
#B94871
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b336b3;
/* rgb */ color: rgb(179, 54, 179);
/* oklch */ color: oklch(56.5% 0.212 327.9);
Tailwind
colors: {
  custom: {
    50: '#cd79ca',
    500: '#b336b3',
    950: '#000000',
  },
}
SCSS
$custom: #b336b3;
$custom-light: #cd79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b336b3",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 300,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56471,
    "c": 0.21198,
    "h": 327.9
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#B336B3
secondary
#80C580
accent
#DD4B4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B336B3

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

Preview Lab → · Contrast checker → · Palette generator →

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