#B337B6#B337B6

#B337B6 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.213 H 326.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B337B6
RGBrgb(179, 55, 182)
HSLhsl(299, 54%, 46%)
HSVhsv(299, 70%, 71%)
CMYKcmyk(1.6%, 69.8%, 0%, 28.6%)
CIE-LABlab(46.57, 64.56, -41.95)
CIE-LCHlch(46.57, 76.99, 326.99°)
OKLaboklab(56.73% 0.1787 -0.1163)
OKLCHoklch(56.73% 0.213 326.9)
XYZxyz(28.3996, 15.6954, 45.7806)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337B6 #3AB637
analogous
#7437B6 #B337B6 #B6377A
triadic
#B337B6 #B6B337 #37B6B3
tetradic
#B337B6 #B67437 #3AB637 #377AB6
square
#B337B6 #B67437 #3AB637 #377AB6
split-complementary
#B337B6 #7AB637 #37B674
monochromatic
#571B58 #852987 #B337B6 #CB5CCE #DA8BDC

Accessibility & contrast

On white

5.07
#B337B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B337B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337B6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337B6#FFFFFF#000000##FFFFFF
##B337B61.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E64BA
Deuteranopia (green-blind)
#5574B3
Tritanopia (blue-blind)
#B84A73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b337b6;
/* rgb */ color: rgb(179, 55, 182);
/* oklch */ color: oklch(56.7% 0.213 326.9);
Tailwind
colors: {
  custom: {
    50: '#cd79cc',
    500: '#b337b6',
    950: '#000000',
  },
}
SCSS
$custom: #b337b6;
$custom-light: #cd79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b337b6",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 298.583,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.2132,
    "h": 326.9
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#B337B6
secondary
#84C682
accent
#DD4B4E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B337B6

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

Preview Lab → · Contrast checker → · Palette generator →

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