#B337AA#B337AA

#B337AA is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.204 H 331.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B337AA
RGBrgb(179, 55, 170)
HSLhsl(304, 53%, 46%)
HSVhsv(304, 69%, 70%)
CMYKcmyk(0%, 69.3%, 5%, 29.8%)
CIE-LABlab(45.93, 62.58, -35.89)
CIE-LCHlch(45.93, 72.14, 330.17°)
OKLaboklab(56.07% 0.1783 -0.0988)
OKLCHoklch(56.07% 0.204 331)
XYZxyz(27.2122, 15.2205, 39.5270)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337AA #37B340
analogous
#7E37B3 #B337AA #B3376C
triadic
#B337AA #AAB337 #37AAB3
tetradic
#B337AA #B37E37 #37B340 #376CB3
square
#B337AA #B37E37 #37B340 #376CB3
split-complementary
#B337AA #6CB337 #37B37E
monochromatic
#551A51 #84297E #B337AA #CD5BC4 #DB8AD5

Accessibility & contrast

On white

5.19
#B337AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B337AA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337AA#FFFFFF#000000##FFFFFF
##B337AA1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b337aa;
/* rgb */ color: rgb(179, 55, 170);
/* oklch */ color: oklch(56.1% 0.204 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd79c4',
    500: '#b337aa',
    950: '#000000',
  },
}
SCSS
$custom: #b337aa;
$custom-light: #cd79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b337aa",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 304.355,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56066,
    "c": 0.20382,
    "h": 331
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B337AA

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

Preview Lab → · Contrast checker → · Palette generator →

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