#B337C7#B337C7

#B337C7 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.227 H 321.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B337C7
RGBrgb(179, 55, 199)
HSLhsl(292, 57%, 50%)
HSVhsv(292, 72%, 78%)
CMYKcmyk(10.1%, 72.4%, 0%, 22%)
CIE-LABlab(47.55, 67.51, -50.29)
CIE-LCHlch(47.55, 84.19, 323.32°)
OKLaboklab(57.74% 0.1782 -0.1406)
OKLCHoklch(57.74% 0.227 321.7)
XYZxyz(30.2643, 16.4413, 55.6011)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337C7 #4BC737
analogous
#6B37C7 #B337C7 #C73793
triadic
#B337C7 #C7B337 #37C7B3
tetradic
#B337C7 #C76B37 #4BC737 #3793C7
square
#B337C7 #C76B37 #4BC737 #3793C7
split-complementary
#B337C7 #93C737 #37C76B
monochromatic
#5D1C67 #882A97 #B337C7 #C566D5 #D896E2

Accessibility & contrast

On white

4.90
#B337C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B337C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337C7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337C7#FFFFFF#000000##FFFFFF
##B337C71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#4A75C4
Tritanopia (blue-blind)
#B5527C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b337c7;
/* rgb */ color: rgb(179, 55, 199);
/* oklch */ color: oklch(57.7% 0.227 321.7);
Tailwind
colors: {
  custom: {
    50: '#ce7ad9',
    500: '#b337c7',
    950: '#000000',
  },
}
SCSS
$custom: #b337c7;
$custom-light: #ce7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#b337c7",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 291.667,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57743,
    "c": 0.22701,
    "h": 321.7
  },
  "luminance": 0.1644
}

Semantic roles & 50–950 ramp

primary
#B337C7
secondary
#95CD8C
accent
#E0485D
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A15
muted
#837C83

Preview Lab

Preview with #B337C7

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

Preview Lab → · Contrast checker → · Palette generator →

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