#B337C4#B337C4

#B337C4 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.225 H 322.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B337C4
RGBrgb(179, 55, 196)
HSLhsl(293, 56%, 49%)
HSVhsv(293, 72%, 77%)
CMYKcmyk(8.7%, 71.9%, 0%, 23.1%)
CIE-LABlab(47.37, 66.98, -48.84)
CIE-LCHlch(47.37, 82.90, 323.90°)
OKLaboklab(57.56% 0.1784 -0.1364)
OKLCHoklch(57.56% 0.225 322.6)
XYZxyz(29.9194, 16.3033, 53.7848)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337C4 #48C437
analogous
#6D37C4 #B337C4 #C4378F
triadic
#B337C4 #C4B337 #37C4B3
tetradic
#B337C4 #C46D37 #48C437 #378FC4
square
#B337C4 #C46D37 #48C437 #378FC4
split-complementary
#B337C4 #8FC437 #37C46D
monochromatic
#5C1C64 #872A94 #B337C4 #C665D4 #D894E1

Accessibility & contrast

On white

4.93
#B337C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B337C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337C4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337C4#FFFFFF#000000##FFFFFF
##B337C41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#4C75C1
Tritanopia (blue-blind)
#B5517A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b337c4;
/* rgb */ color: rgb(179, 55, 196);
/* oklch */ color: oklch(57.6% 0.225 322.6);
Tailwind
colors: {
  custom: {
    50: '#ce7ad6',
    500: '#b337c4',
    950: '#000000',
  },
}
SCSS
$custom: #b337c4;
$custom-light: #ce7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b337c4",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 292.766,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57559,
    "c": 0.22453,
    "h": 322.6
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#B337C4
secondary
#92CC8B
accent
#DF485B
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B337C4

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

Preview Lab → · Contrast checker → · Palette generator →

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