#C337B7#C337B7

#C337B7 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.222 H 331.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C337B7
RGBrgb(195, 55, 183)
HSLhsl(305, 56%, 49%)
HSVhsv(305, 72%, 76%)
CMYKcmyk(0%, 71.8%, 6.2%, 23.5%)
CIE-LABlab(49.20, 68.32, -38.21)
CIE-LCHlch(49.20, 78.28, 330.78°)
OKLaboklab(59.13% 0.1956 -0.1051)
OKLCHoklch(59.13% 0.222 331.7)
XYZxyz(32.4191, 17.7560, 46.5104)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C337B7 #37C343
analogous
#8937C3 #C337B7 #C33771
triadic
#C337B7 #B7C337 #37B7C3
tetradic
#C337B7 #C38937 #37C343 #3771C3
square
#C337B7 #C38937 #37C343 #3771C3
split-complementary
#C337B7 #71C337 #37C389
monochromatic
#641C5D #932A8A #C337B7 #D364CA #E194DA

Accessibility & contrast

On white

4.61
#C337B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C337B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C337B7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C337B7#FFFFFF#000000##FFFFFF
##C337B71.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D68BB
Deuteranopia (green-blind)
#637CB4
Tritanopia (blue-blind)
#CB4773
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c337b7;
/* rgb */ color: rgb(195, 55, 183);
/* oklch */ color: oklch(59.1% 0.222 331.7);
Tailwind
colors: {
  custom: {
    50: '#d97bcd',
    500: '#c337b7',
    950: '#000000',
  },
}
SCSS
$custom: #c337b7;
$custom-light: #d97bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#c337b7",
  "rgb": {
    "r": 195,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 305.143,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.22205,
    "h": 331.7
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#C337B7
secondary
#8ACC90
accent
#DF5549
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C337B7

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

Preview Lab → · Contrast checker → · Palette generator →

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