#B337AE#B337AE

#B337AE is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.207 H 329.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B337AE
RGBrgb(179, 55, 174)
HSLhsl(302, 53%, 46%)
HSVhsv(302, 69%, 70%)
CMYKcmyk(0%, 69.3%, 2.8%, 29.8%)
CIE-LABlab(46.14, 63.23, -37.92)
CIE-LCHlch(46.14, 73.73, 329.05°)
OKLaboklab(56.28% 0.1785 -0.1046)
OKLCHoklch(56.28% 0.207 329.6)
XYZxyz(27.5964, 15.3741, 41.5502)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337AE #37B33C
analogous
#7A37B3 #B337AE #B33770
triadic
#B337AE #AEB337 #37AEB3
tetradic
#B337AE #B37A37 #37B33C #3770B3
square
#B337AE #B37A37 #37B33C #3770B3
split-complementary
#B337AE #70B337 #37B37A
monochromatic
#551A53 #842980 #B337AE #CD5BC8 #DB8AD8

Accessibility & contrast

On white

5.15
#B337AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B337AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337AE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337AE#FFFFFF#000000##FFFFFF
##B337AE1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B1
Deuteranopia (green-blind)
#5A73AB
Tritanopia (blue-blind)
#B9476E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b337ae;
/* rgb */ color: rgb(179, 55, 174);
/* oklch */ color: oklch(56.3% 0.207 329.6);
Tailwind
colors: {
  custom: {
    50: '#cd79c6',
    500: '#b337ae',
    950: '#000000',
  },
}
SCSS
$custom: #b337ae;
$custom-light: #cd79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b337ae",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 302.419,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56283,
    "c": 0.2069,
    "h": 329.6
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#B337AE
secondary
#81C583
accent
#DC514B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B337AE

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

Preview Lab → · Contrast checker → · Palette generator →

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