#B337C0#B337C0

#B337C0 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.221 H 323.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B337C0
RGBrgb(179, 55, 192)
HSLhsl(294, 55%, 48%)
HSVhsv(294, 71%, 75%)
CMYKcmyk(6.8%, 71.4%, 0%, 24.7%)
CIE-LABlab(47.14, 66.28, -46.89)
CIE-LCHlch(47.14, 81.19, 324.72°)
OKLaboklab(57.32% 0.1785 -0.1307)
OKLCHoklch(57.32% 0.221 323.8)
XYZxyz(29.4702, 16.1236, 51.4189)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337C0 #44C037
analogous
#6F37C0 #B337C0 #C03788
triadic
#B337C0 #C0B337 #37C0B3
tetradic
#B337C0 #C06F37 #44C037 #3788C0
square
#B337C0 #C06F37 #44C037 #3788C0
split-complementary
#B337C0 #88C037 #37C06F
monochromatic
#5A1C61 #872990 #B337C0 #C762D2 #D892E0

Accessibility & contrast

On white

4.97
#B337C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B337C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337C0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337C0#FFFFFF#000000##FFFFFF
##B337C01.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0366C4
Deuteranopia (green-blind)
#4F75BD
Tritanopia (blue-blind)
#B64F78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b337c0;
/* rgb */ color: rgb(179, 55, 192);
/* oklch */ color: oklch(57.3% 0.221 323.8);
Tailwind
colors: {
  custom: {
    50: '#cd7ad4',
    500: '#b337c0',
    950: '#000000',
  },
}
SCSS
$custom: #b337c0;
$custom-light: #cd7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#b337c0",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 294.307,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57317,
    "c": 0.22126,
    "h": 323.8
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#B337C0
secondary
#8ECB88
accent
#DF4957
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B337C0

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

Preview Lab → · Contrast checker → · Palette generator →

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