#B337C1#B337C1

#B337C1 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.222 H 323.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B337C1
RGBrgb(179, 55, 193)
HSLhsl(294, 56%, 49%)
HSVhsv(294, 72%, 76%)
CMYKcmyk(7.3%, 71.5%, 0%, 24.3%)
CIE-LABlab(47.19, 66.45, -47.38)
CIE-LCHlch(47.19, 81.61, 324.51°)
OKLaboklab(57.38% 0.1785 -0.1321)
OKLCHoklch(57.38% 0.222 323.5)
XYZxyz(29.5814, 16.1681, 52.0044)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337C1 #45C137
analogous
#6E37C1 #B337C1 #C1378A
triadic
#B337C1 #C1B337 #37C1B3
tetradic
#B337C1 #C16E37 #45C137 #378AC1
square
#B337C1 #C16E37 #45C137 #378AC1
split-complementary
#B337C1 #8AC137 #37C16E
monochromatic
#5B1C62 #872991 #B337C1 #C763D2 #D892E0

Accessibility & contrast

On white

4.96
#B337C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B337C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337C1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337C1#FFFFFF#000000##FFFFFF
##B337C11.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C5
Deuteranopia (green-blind)
#4E75BE
Tritanopia (blue-blind)
#B64F79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b337c1;
/* rgb */ color: rgb(179, 55, 193);
/* oklch */ color: oklch(57.4% 0.222 323.5);
Tailwind
colors: {
  custom: {
    50: '#ce7ad4',
    500: '#b337c1',
    950: '#000000',
  },
}
SCSS
$custom: #b337c1;
$custom-light: #ce7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#b337c1",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 293.913,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57377,
    "c": 0.22208,
    "h": 323.5
  },
  "luminance": 0.16166
}

Semantic roles & 50–950 ramp

primary
#B337C1
secondary
#8FCB89
accent
#DF4958
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B337C1

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

Preview Lab → · Contrast checker → · Palette generator →

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