#C337B2#C337B2

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

Color values

HEX#C337B2
RGBrgb(195, 55, 178)
HSLhsl(307, 56%, 49%)
HSVhsv(307, 72%, 76%)
CMYKcmyk(0%, 71.8%, 8.7%, 23.5%)
CIE-LABlab(48.95, 67.56, -35.68)
CIE-LCHlch(48.95, 76.40, 332.16°)
OKLaboklab(58.87% 0.1953 -0.0978)
OKLCHoklch(58.87% 0.218 333.4)
XYZxyz(31.9080, 17.5515, 43.8181)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C337B2 #37C348
analogous
#8E37C3 #C337B2 #C3376C
triadic
#C337B2 #B2C337 #37B2C3
tetradic
#C337B2 #C38E37 #37C348 #376CC3
square
#C337B2 #C38E37 #37C348 #376CC3
split-complementary
#C337B2 #6CC337 #37C38E
monochromatic
#641C5B #932A86 #C337B2 #D364C6 #E194D7

Accessibility & contrast

On white

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

On black

4.51
#C337B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C337B2#FFFFFF#000000##FFFFFF
##C337B21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#667BAF
Tritanopia (blue-blind)
#CC4471
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c337b2;
/* rgb */ color: rgb(195, 55, 178);
/* oklch */ color: oklch(58.9% 0.218 333.4);
Tailwind
colors: {
  custom: {
    50: '#d97bc9',
    500: '#c337b2',
    950: '#000000',
  },
}
SCSS
$custom: #c337b2;
$custom-light: #d97bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c337b2",
  "rgb": {
    "r": 195,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 307.286,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58872,
    "c": 0.21842,
    "h": 333.4
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C337B2

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

Preview Lab → · Contrast checker → · Palette generator →

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