#C337BA#C337BA

#C337BA is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.3% C 0.224 H 330.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C337BA
RGBrgb(195, 55, 186)
HSLhsl(304, 56%, 49%)
HSVhsv(304, 72%, 76%)
CMYKcmyk(0%, 71.8%, 4.6%, 23.5%)
CIE-LABlab(49.35, 68.78, -39.72)
CIE-LCHlch(49.35, 79.43, 330.00°)
OKLaboklab(59.29% 0.1957 -0.1095)
OKLCHoklch(59.29% 0.224 330.8)
XYZxyz(32.7347, 17.8822, 48.1724)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C337BA #37C340
analogous
#8637C3 #C337BA #C33774
triadic
#C337BA #BAC337 #37BAC3
tetradic
#C337BA #C38637 #37C340 #3774C3
square
#C337BA #C38637 #37C340 #3774C3
split-complementary
#C337BA #74C337 #37C386
monochromatic
#641C5F #932A8C #C337BA #D364CC #E194DC

Accessibility & contrast

On white

4.59
#C337BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C337BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C337BA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C337BA#FFFFFF#000000##FFFFFF
##C337BA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BE
Deuteranopia (green-blind)
#627CB7
Tritanopia (blue-blind)
#CB4875
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c337ba;
/* rgb */ color: rgb(195, 55, 186);
/* oklch */ color: oklch(59.3% 0.224 330.8);
Tailwind
colors: {
  custom: {
    50: '#d97bcf',
    500: '#c337ba',
    950: '#000000',
  },
}
SCSS
$custom: #c337ba;
$custom-light: #d97bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#c337ba",
  "rgb": {
    "r": 195,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 303.857,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59295,
    "c": 0.22425,
    "h": 330.8
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#C337BA
secondary
#8ACC8E
accent
#DF5249
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C337BA

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

Preview Lab → · Contrast checker → · Palette generator →

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