#B337BB#B337BB

#B337BB is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.217 H 325.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B337BB
RGBrgb(179, 55, 187)
HSLhsl(296, 55%, 47%)
HSVhsv(296, 71%, 73%)
CMYKcmyk(4.3%, 70.6%, 0%, 26.7%)
CIE-LABlab(46.85, 65.41, -44.43)
CIE-LCHlch(46.85, 79.07, 325.81°)
OKLaboklab(57.02% 0.1787 -0.1235)
OKLCHoklch(57.02% 0.217 325.3)
XYZxyz(28.9256, 15.9058, 48.5507)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337BB #3FBB37
analogous
#7137BB #B337BB #BB3781
triadic
#B337BB #BBB337 #37BBB3
tetradic
#B337BB #BB7137 #3FBB37 #3781BB
square
#B337BB #BB7137 #3FBB37 #3781BB
split-complementary
#B337BB #81BB37 #37BB71
monochromatic
#581B5C #86298C #B337BB #C95FD0 #D98EDE

Accessibility & contrast

On white

5.02
#B337BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B337BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337BB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337BB#FFFFFF#000000##FFFFFF
##B337BB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#B74D76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b337bb;
/* rgb */ color: rgb(179, 55, 187);
/* oklch */ color: oklch(57.0% 0.217 325.3);
Tailwind
colors: {
  custom: {
    50: '#cd79d0',
    500: '#b337bb',
    950: '#000000',
  },
}
SCSS
$custom: #b337bb;
$custom-light: #cd79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b337bb",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 296.364,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.21721,
    "h": 325.3
  },
  "luminance": 0.15904
}

Semantic roles & 50–950 ramp

primary
#B337BB
secondary
#89C985
accent
#DE4A53
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B337BB

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

Preview Lab → · Contrast checker → · Palette generator →

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