#B337AD#B337AD

#B337AD is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.206 H 330.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B337AD
RGBrgb(179, 55, 173)
HSLhsl(303, 53%, 46%)
HSVhsv(303, 69%, 70%)
CMYKcmyk(0%, 69.3%, 3.4%, 29.8%)
CIE-LABlab(46.09, 63.07, -37.42)
CIE-LCHlch(46.09, 73.33, 329.32°)
OKLaboklab(56.23% 0.1784 -0.1032)
OKLCHoklch(56.23% 0.206 330)
XYZxyz(27.4993, 15.3353, 41.0387)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337AD #37B33D
analogous
#7B37B3 #B337AD #B3376F
triadic
#B337AD #ADB337 #37ADB3
tetradic
#B337AD #B37B37 #37B33D #376FB3
square
#B337AD #B37B37 #37B33D #376FB3
split-complementary
#B337AD #6FB337 #37B37B
monochromatic
#551A53 #842980 #B337AD #CD5BC7 #DB8AD7

Accessibility & contrast

On white

5.16
#B337AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B337AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337AD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337AD#FFFFFF#000000##FFFFFF
##B337AD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62B0
Deuteranopia (green-blind)
#5A73AA
Tritanopia (blue-blind)
#BA466E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b337ad;
/* rgb */ color: rgb(179, 55, 173);
/* oklch */ color: oklch(56.2% 0.206 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd79c6',
    500: '#b337ad',
    950: '#000000',
  },
}
SCSS
$custom: #b337ad;
$custom-light: #cd79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b337ad",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 302.903,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.20612,
    "h": 330
  },
  "luminance": 0.15333
}

Semantic roles & 50–950 ramp

primary
#B337AD
secondary
#81C584
accent
#DC524B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B337AD

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

Preview Lab → · Contrast checker → · Palette generator →

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