#B337A0#B337A0

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

Color values

HEX#B337A0
RGBrgb(179, 55, 160)
HSLhsl(309, 53%, 46%)
HSVhsv(309, 69%, 70%)
CMYKcmyk(0%, 69.3%, 10.6%, 29.8%)
CIE-LABlab(45.44, 61.01, -30.73)
CIE-LCHlch(45.44, 68.31, 333.27°)
OKLaboklab(55.55% 0.1775 -0.0839)
OKLCHoklch(55.55% 0.196 334.7)
XYZxyz(26.3020, 14.8564, 34.7332)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337A0 #37B34A
analogous
#8837B3 #B337A0 #B33762
triadic
#B337A0 #A0B337 #37A0B3
tetradic
#B337A0 #B38837 #37B34A #3762B3
square
#B337A0 #B38837 #37B34A #3762B3
split-complementary
#B337A0 #62B337 #37B388
monochromatic
#551A4C #842976 #B337A0 #CD5BBB #DB8ACE

Accessibility & contrast

On white

5.29
#B337A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B337A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337A0
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337A0#FFFFFF#000000##FFFFFF
##B337A01.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A3
Deuteranopia (green-blind)
#61729D
Tritanopia (blue-blind)
#BC4167
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b337a0;
/* rgb */ color: rgb(179, 55, 160);
/* oklch */ color: oklch(55.5% 0.196 334.7);
Tailwind
colors: {
  custom: {
    50: '#cd78bc',
    500: '#b337a0',
    950: '#000000',
  },
}
SCSS
$custom: #b337a0;
$custom-light: #cd78bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b337a0",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 309.194,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55545,
    "c": 0.19632,
    "h": 334.7
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#B337A0
secondary
#81C58B
accent
#DC624B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B337A0

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

Preview Lab → · Contrast checker → · Palette generator →

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