#B337C2#B337C2

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

Color values

HEX#B337C2
RGBrgb(179, 55, 194)
HSLhsl(294, 56%, 49%)
HSVhsv(294, 72%, 76%)
CMYKcmyk(7.7%, 71.6%, 0%, 23.9%)
CIE-LABlab(47.25, 66.63, -47.87)
CIE-LCHlch(47.25, 82.04, 324.31°)
OKLaboklab(57.44% 0.1785 -0.1335)
OKLCHoklch(57.44% 0.223 323.2)
XYZxyz(29.6933, 16.2129, 52.5939)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337C2 #46C237
analogous
#6E37C2 #B337C2 #C2378C
triadic
#B337C2 #C2B337 #37C2B3
tetradic
#B337C2 #C26E37 #46C237 #378CC2
square
#B337C2 #C26E37 #46C237 #378CC2
split-complementary
#B337C2 #8CC237 #37C26E
monochromatic
#5B1C63 #872992 #B337C2 #C763D3 #D893E0

Accessibility & contrast

On white

4.95
#B337C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B337C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337C2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337C2#FFFFFF#000000##FFFFFF
##B337C21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#B65079
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b337c2;
/* rgb */ color: rgb(179, 55, 194);
/* oklch */ color: oklch(57.4% 0.223 323.2);
Tailwind
colors: {
  custom: {
    50: '#ce7ad5',
    500: '#b337c2',
    950: '#000000',
  },
}
SCSS
$custom: #b337c2;
$custom-light: #ce7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#b337c2",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 293.525,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57437,
    "c": 0.2229,
    "h": 323.2
  },
  "luminance": 0.16211
}

Semantic roles & 50–950 ramp

primary
#B337C2
secondary
#90CB89
accent
#DF4959
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B337C2

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

Preview Lab → · Contrast checker → · Palette generator →

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