#B337AC#B337AC

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

Color values

HEX#B337AC
RGBrgb(179, 55, 172)
HSLhsl(303, 53%, 46%)
HSVhsv(303, 69%, 70%)
CMYKcmyk(0%, 69.3%, 3.9%, 29.8%)
CIE-LABlab(46.04, 62.91, -36.91)
CIE-LCHlch(46.04, 72.93, 329.60°)
OKLaboklab(56.17% 0.1784 -0.1017)
OKLCHoklch(56.17% 0.205 330.3)
XYZxyz(27.4029, 15.2967, 40.5310)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337AC #37B33E
analogous
#7C37B3 #B337AC #B3376E
triadic
#B337AC #ACB337 #37ACB3
tetradic
#B337AC #B37C37 #37B33E #376EB3
square
#B337AC #B37C37 #37B33E #376EB3
split-complementary
#B337AC #6EB337 #37B37C
monochromatic
#551A52 #84297F #B337AC #CD5BC6 #DB8AD6

Accessibility & contrast

On white

5.17
#B337AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B337AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337AC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337AC#FFFFFF#000000##FFFFFF
##B337AC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AF
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#BA466D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b337ac;
/* rgb */ color: rgb(179, 55, 172);
/* oklch */ color: oklch(56.2% 0.205 330.3);
Tailwind
colors: {
  custom: {
    50: '#cd79c5',
    500: '#b337ac',
    950: '#000000',
  },
}
SCSS
$custom: #b337ac;
$custom-light: #cd79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b337ac",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 303.387,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.20534,
    "h": 330.3
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#B337AC
secondary
#81C585
accent
#DC544B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B337AC

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

Preview Lab → · Contrast checker → · Palette generator →

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