#C337B1#C337B1

#C337B1 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.218 H 333.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C337B1
RGBrgb(195, 55, 177)
HSLhsl(308, 56%, 49%)
HSVhsv(308, 72%, 76%)
CMYKcmyk(0%, 71.8%, 9.2%, 23.5%)
CIE-LABlab(48.90, 67.40, -35.17)
CIE-LCHlch(48.90, 76.03, 332.44°)
OKLaboklab(58.82% 0.1952 -0.0963)
OKLCHoklch(58.82% 0.218 333.7)
XYZxyz(31.8079, 17.5115, 43.2913)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C337B1 #37C349
analogous
#8F37C3 #C337B1 #C3376B
triadic
#C337B1 #B1C337 #37B1C3
tetradic
#C337B1 #C38F37 #37C349 #376BC3
square
#C337B1 #C38F37 #37C349 #376BC3
split-complementary
#C337B1 #6BC337 #37C38F
monochromatic
#641C5A #932A86 #C337B1 #D364C5 #E194D7

Accessibility & contrast

On white

4.66
#C337B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C337B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C337B1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C337B1#FFFFFF#000000##FFFFFF
##C337B11.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#667BAE
Tritanopia (blue-blind)
#CC4470
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c337b1;
/* rgb */ color: rgb(195, 55, 177);
/* oklch */ color: oklch(58.8% 0.218 333.7);
Tailwind
colors: {
  custom: {
    50: '#d97bc8',
    500: '#c337b1',
    950: '#000000',
  },
}
SCSS
$custom: #c337b1;
$custom-light: #d97bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c337b1",
  "rgb": {
    "r": 195,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 307.714,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5882,
    "c": 0.21771,
    "h": 333.7
  },
  "luminance": 0.17509
}

Semantic roles & 50–950 ramp

primary
#C337B1
secondary
#8ACC92
accent
#DF5C49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C337B1

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

Preview Lab → · Contrast checker → · Palette generator →

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