#B336BD#B336BD

#B336BD is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.220 H 324.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B336BD
RGBrgb(179, 54, 189)
HSLhsl(296, 56%, 48%)
HSVhsv(296, 71%, 74%)
CMYKcmyk(5.3%, 71.4%, 0%, 25.9%)
CIE-LABlab(46.84, 66.11, -45.62)
CIE-LCHlch(46.84, 80.32, 325.39°)
OKLaboklab(57.05% 0.1796 -0.127)
OKLCHoklch(57.05% 0.22 324.7)
XYZxyz(29.0942, 15.8980, 49.6704)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336BD #40BD36
analogous
#7036BD #B336BD #BD3683
triadic
#B336BD #BDB336 #36BDB3
tetradic
#B336BD #BD7036 #40BD36 #3683BD
square
#B336BD #BD7036 #40BD36 #3683BD
split-complementary
#B336BD #83BD36 #36BD70
monochromatic
#591B5E #86288D #B336BD #C95FD1 #D98FDF

Accessibility & contrast

On white

5.02
#B336BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B336BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336BD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336BD#FFFFFF#000000##FFFFFF
##B336BD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B65C1
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#B74D76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b336bd;
/* rgb */ color: rgb(179, 54, 189);
/* oklch */ color: oklch(57.0% 0.220 324.7);
Tailwind
colors: {
  custom: {
    50: '#cd79d1',
    500: '#b336bd',
    950: '#000000',
  },
}
SCSS
$custom: #b336bd;
$custom-light: #cd79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b336bd",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 295.556,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5705,
    "c": 0.21994,
    "h": 324.7
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#B336BD
secondary
#8AC985
accent
#DF4954
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B336BD

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

Preview Lab → · Contrast checker → · Palette generator →

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