#B337B9#B337B9

#B337B9 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.216 H 326.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B337B9
RGBrgb(179, 55, 185)
HSLhsl(297, 54%, 47%)
HSVhsv(297, 70%, 73%)
CMYKcmyk(3.2%, 70.3%, 0%, 27.5%)
CIE-LABlab(46.74, 65.07, -43.44)
CIE-LCHlch(46.74, 78.24, 326.27°)
OKLaboklab(56.9% 0.1787 -0.1206)
OKLCHoklch(56.9% 0.216 326)
XYZxyz(28.7130, 15.8208, 47.4309)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337B9 #3DB937
analogous
#7237B9 #B337B9 #B9377E
triadic
#B337B9 #B9B337 #37B9B3
tetradic
#B337B9 #B97237 #3DB937 #377EB9
square
#B337B9 #B97237 #3DB937 #377EB9
split-complementary
#B337B9 #7EB937 #37B972
monochromatic
#581B5B #85298A #B337B9 #CA5ECF #D98DDD

Accessibility & contrast

On white

5.04
#B337B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B337B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337B9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337B9#FFFFFF#000000##FFFFFF
##B337B91.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1965BD
Deuteranopia (green-blind)
#5474B6
Tritanopia (blue-blind)
#B74C74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b337b9;
/* rgb */ color: rgb(179, 55, 185);
/* oklch */ color: oklch(56.9% 0.216 326.0);
Tailwind
colors: {
  custom: {
    50: '#cd79ce',
    500: '#b337b9',
    950: '#000000',
  },
}
SCSS
$custom: #b337b9;
$custom-light: #cd79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b337b9",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 297.231,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56904,
    "c": 0.2156,
    "h": 326
  },
  "luminance": 0.15819
}

Semantic roles & 50–950 ramp

primary
#B337B9
secondary
#87C884
accent
#DE4A51
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B337B9

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

Preview Lab → · Contrast checker → · Palette generator →

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