#B337BC#B337BC

#B337BC is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.218 H 325.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B337BC
RGBrgb(179, 55, 188)
HSLhsl(296, 55%, 48%)
HSVhsv(296, 71%, 74%)
CMYKcmyk(4.8%, 70.7%, 0%, 26.3%)
CIE-LABlab(46.91, 65.58, -44.93)
CIE-LCHlch(46.91, 79.49, 325.59°)
OKLaboklab(57.08% 0.1786 -0.125)
OKLCHoklch(57.08% 0.218 325)
XYZxyz(29.0330, 15.9488, 49.1164)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337BC #40BC37
analogous
#7137BC #B337BC #BC3782
triadic
#B337BC #BCB337 #37BCB3
tetradic
#B337BC #BC7137 #40BC37 #3782BC
square
#B337BC #BC7137 #40BC37 #3782BC
split-complementary
#B337BC #82BC37 #37BC71
monochromatic
#591B5D #86298D #B337BC #C960D0 #D98FDE

Accessibility & contrast

On white

5.01
#B337BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B337BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337BC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337BC#FFFFFF#000000##FFFFFF
##B337BC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1266C0
Deuteranopia (green-blind)
#5274B9
Tritanopia (blue-blind)
#B74D76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b337bc;
/* rgb */ color: rgb(179, 55, 188);
/* oklch */ color: oklch(57.1% 0.218 325.0);
Tailwind
colors: {
  custom: {
    50: '#cd79d1',
    500: '#b337bc',
    950: '#000000',
  },
}
SCSS
$custom: #b337bc;
$custom-light: #cd79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b337bc",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 295.94,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57079,
    "c": 0.21801,
    "h": 325
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#B337BC
secondary
#8AC986
accent
#DE4A54
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B337BC

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

Preview Lab → · Contrast checker → · Palette generator →

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