#B336A0#B336A0

#B336A0 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.5% C 0.198 H 334.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B336A0
RGBrgb(179, 54, 160)
HSLhsl(309, 54%, 46%)
HSVhsv(309, 70%, 70%)
CMYKcmyk(0%, 69.8%, 10.6%, 29.8%)
CIE-LABlab(45.31, 61.38, -30.93)
CIE-LCHlch(45.31, 68.73, 333.25°)
OKLaboklab(55.45% 0.1785 -0.0845)
OKLCHoklch(55.45% 0.198 334.7)
XYZxyz(26.2550, 14.7623, 34.7175)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336A0 #36B349
analogous
#8736B3 #B336A0 #B33661
triadic
#B336A0 #A0B336 #36A0B3
tetradic
#B336A0 #B38736 #36B349 #3661B3
square
#B336A0 #B38736 #36B349 #3661B3
split-complementary
#B336A0 #61B336 #36B387
monochromatic
#551A4C #842876 #B336A0 #CD59BB #DB88CF

Accessibility & contrast

On white

5.31
#B336A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B336A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336A0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336A0#FFFFFF#000000##FFFFFF
##B336A01.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA3
Deuteranopia (green-blind)
#60729D
Tritanopia (blue-blind)
#BC4067
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b336a0;
/* rgb */ color: rgb(179, 54, 160);
/* oklch */ color: oklch(55.5% 0.198 334.7);
Tailwind
colors: {
  custom: {
    50: '#cd78bc',
    500: '#b336a0',
    950: '#000000',
  },
}
SCSS
$custom: #b336a0;
$custom-light: #cd78bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b336a0",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 160
  },
  "hsl": {
    "h": 309.12,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55451,
    "c": 0.19753,
    "h": 334.7
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#B336A0
secondary
#80C58A
accent
#DD614B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B336A0

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

Preview Lab → · Contrast checker → · Palette generator →

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