#B337BF#B337BF

#B337BF is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.220 H 324.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B337BF
RGBrgb(179, 55, 191)
HSLhsl(295, 55%, 48%)
HSVhsv(295, 71%, 75%)
CMYKcmyk(6.3%, 71.2%, 0%, 25.1%)
CIE-LABlab(47.08, 66.10, -46.40)
CIE-LCHlch(47.08, 80.76, 324.93°)
OKLaboklab(57.26% 0.1786 -0.1293)
OKLCHoklch(57.26% 0.22 324.1)
XYZxyz(29.3598, 16.0795, 50.8373)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337BF #43BF37
analogous
#6F37BF #B337BF #BF3787
triadic
#B337BF #BFB337 #37BFB3
tetradic
#B337BF #BF6F37 #43BF37 #3787BF
square
#B337BF #BF6F37 #43BF37 #3787BF
split-complementary
#B337BF #87BF37 #37BF6F
monochromatic
#5A1C60 #86298F #B337BF #C862D2 #D891DF

Accessibility & contrast

On white

4.98
#B337BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B337BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337BF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337BF#FFFFFF#000000##FFFFFF
##B337BF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0766C3
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#B64E78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b337bf;
/* rgb */ color: rgb(179, 55, 191);
/* oklch */ color: oklch(57.3% 0.220 324.1);
Tailwind
colors: {
  custom: {
    50: '#cd79d3',
    500: '#b337bf',
    950: '#000000',
  },
}
SCSS
$custom: #b337bf;
$custom-light: #cd79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b337bf",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 294.706,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57257,
    "c": 0.22045,
    "h": 324.1
  },
  "luminance": 0.16078
}

Semantic roles & 50–950 ramp

primary
#B337BF
secondary
#8DCA88
accent
#DF4956
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B337BF

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

Preview Lab → · Contrast checker → · Palette generator →

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