#B337A6#B337A6

#B337A6 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.201 H 332.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B337A6
RGBrgb(179, 55, 166)
HSLhsl(306, 53%, 46%)
HSVhsv(306, 69%, 70%)
CMYKcmyk(0%, 69.3%, 7.3%, 29.8%)
CIE-LABlab(45.73, 61.95, -33.84)
CIE-LCHlch(45.73, 70.59, 331.36°)
OKLaboklab(55.85% 0.178 -0.0928)
OKLCHoklch(55.85% 0.201 332.5)
XYZxyz(26.8396, 15.0714, 37.5645)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337A6 #37B344
analogous
#8237B3 #B337A6 #B33768
triadic
#B337A6 #A6B337 #37A6B3
tetradic
#B337A6 #B38237 #37B344 #3768B3
square
#B337A6 #B38237 #37B344 #3768B3
split-complementary
#B337A6 #68B337 #37B382
monochromatic
#551A4F #84297B #B337A6 #CD5BC1 #DB8AD2

Accessibility & contrast

On white

5.23
#B337A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B337A6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337A6#FFFFFF#000000##FFFFFF
##B337A61.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A9
Deuteranopia (green-blind)
#5E73A3
Tritanopia (blue-blind)
#BB436A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b337a6;
/* rgb */ color: rgb(179, 55, 166);
/* oklch */ color: oklch(55.9% 0.201 332.5);
Tailwind
colors: {
  custom: {
    50: '#cd79c1',
    500: '#b337a6',
    950: '#000000',
  },
}
SCSS
$custom: #b337a6;
$custom-light: #cd79c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b337a6",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 306.29,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.20077,
    "h": 332.5
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B337A6

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

Preview Lab → · Contrast checker → · Palette generator →

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