#B337C3#B337C3

#B337C3 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.224 H 322.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B337C3
RGBrgb(179, 55, 195)
HSLhsl(293, 56%, 49%)
HSVhsv(293, 72%, 76%)
CMYKcmyk(8.2%, 71.8%, 0%, 23.5%)
CIE-LABlab(47.31, 66.80, -48.35)
CIE-LCHlch(47.31, 82.47, 324.10°)
OKLaboklab(57.5% 0.1784 -0.135)
OKLCHoklch(57.5% 0.224 322.9)
XYZxyz(29.8060, 16.2580, 53.1873)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337C3 #47C337
analogous
#6D37C3 #B337C3 #C3378D
triadic
#B337C3 #C3B337 #37C3B3
tetradic
#B337C3 #C36D37 #47C337 #378DC3
square
#B337C3 #C36D37 #47C337 #378DC3
split-complementary
#B337C3 #8DC337 #37C36D
monochromatic
#5B1C64 #872A93 #B337C3 #C764D3 #D894E1

Accessibility & contrast

On white

4.94
#B337C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B337C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337C3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337C3#FFFFFF#000000##FFFFFF
##B337C31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#B6507A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b337c3;
/* rgb */ color: rgb(179, 55, 195);
/* oklch */ color: oklch(57.5% 0.224 322.9);
Tailwind
colors: {
  custom: {
    50: '#ce7ad6',
    500: '#b337c3',
    950: '#000000',
  },
}
SCSS
$custom: #b337c3;
$custom-light: #ce7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b337c3",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 293.143,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57498,
    "c": 0.22371,
    "h": 322.9
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#B337C3
secondary
#91CC8A
accent
#DF495A
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B337C3

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

Preview Lab → · Contrast checker → · Palette generator →

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