#B337B5#B337B5

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

Color values

HEX#B337B5
RGBrgb(179, 55, 181)
HSLhsl(299, 53%, 46%)
HSVhsv(299, 70%, 71%)
CMYKcmyk(1.1%, 69.6%, 0%, 29%)
CIE-LABlab(46.52, 64.39, -41.45)
CIE-LCHlch(46.52, 76.58, 327.23°)
OKLaboklab(56.67% 0.1787 -0.1149)
OKLCHoklch(56.67% 0.212 327.3)
XYZxyz(28.2966, 15.6542, 45.2383)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337B5 #39B537
analogous
#7437B5 #B337B5 #B53778
triadic
#B337B5 #B5B337 #37B5B3
tetradic
#B337B5 #B57437 #39B537 #3778B5
square
#B337B5 #B57437 #39B537 #3778B5
split-complementary
#B337B5 #78B537 #37B574
monochromatic
#561A57 #852986 #B337B5 #CC5CCD #DA8BDC

Accessibility & contrast

On white

5.08
#B337B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B337B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337B5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337B5#FFFFFF#000000##FFFFFF
##B337B51.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2064B9
Deuteranopia (green-blind)
#5674B2
Tritanopia (blue-blind)
#B84A72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b337b5;
/* rgb */ color: rgb(179, 55, 181);
/* oklch */ color: oklch(56.7% 0.212 327.3);
Tailwind
colors: {
  custom: {
    50: '#cd79cc',
    500: '#b337b5',
    950: '#000000',
  },
}
SCSS
$custom: #b337b5;
$custom-light: #cd79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b337b5",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 299.048,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.2124,
    "h": 327.3
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#B337B5
secondary
#83C682
accent
#DD4B4D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B337B5

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

Preview Lab → · Contrast checker → · Palette generator →

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