#B337A5#B337A5

#B337A5 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.200 H 332.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B337A5
RGBrgb(179, 55, 165)
HSLhsl(307, 53%, 46%)
HSVhsv(307, 69%, 70%)
CMYKcmyk(0%, 69.3%, 7.8%, 29.8%)
CIE-LABlab(45.68, 61.79, -33.32)
CIE-LCHlch(45.68, 70.20, 331.66°)
OKLaboklab(55.8% 0.1779 -0.0914)
OKLCHoklch(55.8% 0.2 332.8)
XYZxyz(26.7482, 15.0349, 37.0833)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337A5 #37B345
analogous
#8337B3 #B337A5 #B33767
triadic
#B337A5 #A5B337 #37A5B3
tetradic
#B337A5 #B38337 #37B345 #3767B3
square
#B337A5 #B38337 #37B345 #3767B3
split-complementary
#B337A5 #67B337 #37B383
monochromatic
#551A4F #84297A #B337A5 #CD5BC0 #DB8AD2

Accessibility & contrast

On white

5.24
#B337A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B337A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337A5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337A5#FFFFFF#000000##FFFFFF
##B337A51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#5E72A2
Tritanopia (blue-blind)
#BB436A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b337a5;
/* rgb */ color: rgb(179, 55, 165);
/* oklch */ color: oklch(55.8% 0.200 332.8);
Tailwind
colors: {
  custom: {
    50: '#cd79c0',
    500: '#b337a5',
    950: '#000000',
  },
}
SCSS
$custom: #b337a5;
$custom-light: #cd79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b337a5",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 306.774,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55802,
    "c": 0.20002,
    "h": 332.8
  },
  "luminance": 0.15033
}

Semantic roles & 50–950 ramp

primary
#B337A5
secondary
#81C588
accent
#DC5C4B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B337A5

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

Preview Lab → · Contrast checker → · Palette generator →

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