#B337A3#B337A3

#B337A3 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.7% C 0.199 H 333.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B337A3
RGBrgb(179, 55, 163)
HSLhsl(308, 53%, 46%)
HSVhsv(308, 69%, 70%)
CMYKcmyk(0%, 69.3%, 8.9%, 29.8%)
CIE-LABlab(45.58, 61.48, -32.29)
CIE-LCHlch(45.58, 69.44, 332.29°)
OKLaboklab(55.7% 0.1778 -0.0884)
OKLCHoklch(55.7% 0.199 333.6)
XYZxyz(26.5676, 14.9626, 36.1320)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337A3 #37B347
analogous
#8537B3 #B337A3 #B33765
triadic
#B337A3 #A3B337 #37A3B3
tetradic
#B337A3 #B38537 #37B347 #3765B3
square
#B337A3 #B38537 #37B347 #3765B3
split-complementary
#B337A3 #65B337 #37B385
monochromatic
#551A4E #842978 #B337A3 #CD5BBE #DB8AD0

Accessibility & contrast

On white

5.26
#B337A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B337A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337A3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337A3#FFFFFF#000000##FFFFFF
##B337A31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A6
Deuteranopia (green-blind)
#5F72A0
Tritanopia (blue-blind)
#BB4269
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b337a3;
/* rgb */ color: rgb(179, 55, 163);
/* oklch */ color: oklch(55.7% 0.199 333.6);
Tailwind
colors: {
  custom: {
    50: '#cd78be',
    500: '#b337a3',
    950: '#000000',
  },
}
SCSS
$custom: #b337a3;
$custom-light: #cd78be;
$custom-dark: #000000;
JSON
{
  "hex": "#b337a3",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 307.742,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55698,
    "c": 0.19853,
    "h": 333.6
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#B337A3
secondary
#81C58A
accent
#DC5E4B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B337A3

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

Preview Lab → · Contrast checker → · Palette generator →

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