#B337BD#B337BD

#B337BD is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.219 H 324.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B337BD
RGBrgb(179, 55, 189)
HSLhsl(296, 55%, 48%)
HSVhsv(296, 71%, 74%)
CMYKcmyk(5.3%, 70.9%, 0%, 25.9%)
CIE-LABlab(46.96, 65.76, -45.42)
CIE-LCHlch(46.96, 79.92, 325.37°)
OKLaboklab(57.14% 0.1786 -0.1264)
OKLCHoklch(57.14% 0.219 324.7)
XYZxyz(29.1412, 15.9920, 49.6861)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337BD #41BD37
analogous
#7037BD #B337BD #BD3784
triadic
#B337BD #BDB337 #37BDB3
tetradic
#B337BD #BD7037 #41BD37 #3784BD
square
#B337BD #BD7037 #41BD37 #3784BD
split-complementary
#B337BD #84BD37 #37BD70
monochromatic
#591B5E #86298E #B337BD #C860D1 #D990DF

Accessibility & contrast

On white

5.00
#B337BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B337BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337BD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337BD#FFFFFF#000000##FFFFFF
##B337BD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F66C1
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#B74E77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b337bd;
/* rgb */ color: rgb(179, 55, 189);
/* oklch */ color: oklch(57.1% 0.219 324.7);
Tailwind
colors: {
  custom: {
    50: '#cd79d1',
    500: '#b337bd',
    950: '#000000',
  },
}
SCSS
$custom: #b337bd;
$custom-light: #cd79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b337bd",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 295.522,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57138,
    "c": 0.21882,
    "h": 324.7
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#B337BD
secondary
#8BC986
accent
#DE4A55
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B337BD

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

Preview Lab → · Contrast checker → · Palette generator →

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