#C337B4#C337B4

#C337B4 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.220 H 332.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C337B4
RGBrgb(195, 55, 180)
HSLhsl(306, 56%, 49%)
HSVhsv(306, 72%, 76%)
CMYKcmyk(0%, 71.8%, 7.7%, 23.5%)
CIE-LABlab(49.05, 67.86, -36.70)
CIE-LCHlch(49.05, 77.15, 331.60°)
OKLaboklab(58.98% 0.1954 -0.1007)
OKLCHoklch(58.98% 0.22 332.7)
XYZxyz(32.1102, 17.6324, 44.8834)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C337B4 #37C346
analogous
#8C37C3 #C337B4 #C3376E
triadic
#C337B4 #B4C337 #37B4C3
tetradic
#C337B4 #C38C37 #37C346 #376EC3
square
#C337B4 #C38C37 #37C346 #376EC3
split-complementary
#C337B4 #6EC337 #37C38C
monochromatic
#641C5C #932A88 #C337B4 #D364C7 #E194D8

Accessibility & contrast

On white

4.64
#C337B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C337B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C337B4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C337B4#FFFFFF#000000##FFFFFF
##C337B41.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B7
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#CC4572
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c337b4;
/* rgb */ color: rgb(195, 55, 180);
/* oklch */ color: oklch(59.0% 0.220 332.7);
Tailwind
colors: {
  custom: {
    50: '#d97bcb',
    500: '#c337b4',
    950: '#000000',
  },
}
SCSS
$custom: #c337b4;
$custom-light: #d97bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#c337b4",
  "rgb": {
    "r": 195,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 306.429,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58976,
    "c": 0.21986,
    "h": 332.7
  },
  "luminance": 0.1763
}

Semantic roles & 50–950 ramp

primary
#C337B4
secondary
#8ACC91
accent
#DF5949
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C337B4

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

Preview Lab → · Contrast checker → · Palette generator →

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