#B337A9#B337A9

#B337A9 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.0% C 0.203 H 331.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B337A9
RGBrgb(179, 55, 169)
HSLhsl(305, 53%, 46%)
HSVhsv(305, 69%, 70%)
CMYKcmyk(0%, 69.3%, 5.6%, 29.8%)
CIE-LABlab(45.88, 62.42, -35.38)
CIE-LCHlch(45.88, 71.75, 330.46°)
OKLaboklab(56.01% 0.1782 -0.0973)
OKLCHoklch(56.01% 0.203 331.4)
XYZxyz(27.1180, 15.1828, 39.0307)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337A9 #37B341
analogous
#7F37B3 #B337A9 #B3376B
triadic
#B337A9 #A9B337 #37A9B3
tetradic
#B337A9 #B37F37 #37B341 #376BB3
square
#B337A9 #B37F37 #37B341 #376BB3
split-complementary
#B337A9 #6BB337 #37B37F
monochromatic
#551A51 #84297D #B337A9 #CD5BC3 #DB8AD4

Accessibility & contrast

On white

5.20
#B337A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B337A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337A9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337A9#FFFFFF#000000##FFFFFF
##B337A91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AC
Deuteranopia (green-blind)
#5C73A6
Tritanopia (blue-blind)
#BA456C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b337a9;
/* rgb */ color: rgb(179, 55, 169);
/* oklch */ color: oklch(56.0% 0.203 331.4);
Tailwind
colors: {
  custom: {
    50: '#cd79c3',
    500: '#b337a9',
    950: '#000000',
  },
}
SCSS
$custom: #b337a9;
$custom-light: #cd79c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b337a9",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 304.839,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56013,
    "c": 0.20305,
    "h": 331.4
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#B337A9
secondary
#81C586
accent
#DC574B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B337A9

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

Preview Lab → · Contrast checker → · Palette generator →

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