#B337B4#B337B4

#B337B4 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.212 H 327.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B337B4
RGBrgb(179, 55, 180)
HSLhsl(300, 53%, 46%)
HSVhsv(300, 69%, 71%)
CMYKcmyk(0.6%, 69.4%, 0%, 29.4%)
CIE-LABlab(46.46, 64.22, -40.95)
CIE-LCHlch(46.46, 76.17, 327.48°)
OKLaboklab(56.62% 0.1787 -0.1134)
OKLCHoklch(56.62% 0.212 327.6)
XYZxyz(28.1944, 15.6133, 44.6998)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337B4 #38B437
analogous
#7437B4 #B337B4 #B43776
triadic
#B337B4 #B4B337 #37B4B3
tetradic
#B337B4 #B47437 #38B437 #3776B4
square
#B337B4 #B47437 #38B437 #3776B4
split-complementary
#B337B4 #76B437 #37B474
monochromatic
#561A56 #842985 #B337B4 #CC5BCD #DB8ADB

Accessibility & contrast

On white

5.09
#B337B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B337B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337B4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337B4#FFFFFF#000000##FFFFFF
##B337B41.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2164B8
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#B84A72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b337b4;
/* rgb */ color: rgb(179, 55, 180);
/* oklch */ color: oklch(56.6% 0.212 327.6);
Tailwind
colors: {
  custom: {
    50: '#cd79cb',
    500: '#b337b4',
    950: '#000000',
  },
}
SCSS
$custom: #b337b4;
$custom-light: #cd79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b337b4",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 299.52,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56618,
    "c": 0.2116,
    "h": 327.6
  },
  "luminance": 0.15611
}

Semantic roles & 50–950 ramp

primary
#B337B4
secondary
#82C681
accent
#DD4B4C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B337B4

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

Preview Lab → · Contrast checker → · Palette generator →

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