#C336C6#C336C6

#C336C6 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.9% C 0.234 H 327.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C336C6
RGBrgb(195, 54, 198)
HSLhsl(299, 57%, 49%)
HSVhsv(299, 73%, 78%)
CMYKcmyk(1.5%, 72.7%, 0%, 22.4%)
CIE-LABlab(49.88, 71.02, -45.85)
CIE-LCHlch(49.88, 84.53, 327.16°)
OKLaboklab(59.88% 0.1968 -0.1272)
OKLCHoklch(59.88% 0.234 327.1)
XYZxyz(34.0173, 18.3200, 55.1596)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336C6 #39C636
analogous
#7B36C6 #C336C6 #C63681
triadic
#C336C6 #C6C336 #36C6C3
tetradic
#C336C6 #C67B36 #39C636 #3681C6
square
#C336C6 #C67B36 #39C636 #3681C6
split-complementary
#C336C6 #81C636 #36C67B
monochromatic
#641C66 #942996 #C336C6 #D264D5 #E094E2

Accessibility & contrast

On white

4.50
#C336C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C336C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C336C6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336C6#FFFFFF#000000##000000
##C336C61.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#126BCA
Deuteranopia (green-blind)
#5B7DC2
Tritanopia (blue-blind)
#C94D7B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c336c6;
/* rgb */ color: rgb(195, 54, 198);
/* oklch */ color: oklch(59.9% 0.234 327.1);
Tailwind
colors: {
  custom: {
    50: '#d97bd8',
    500: '#c336c6',
    950: '#000000',
  },
}
SCSS
$custom: #c336c6;
$custom-light: #d97bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#c336c6",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 298.75,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59881,
    "c": 0.23431,
    "h": 327.1
  },
  "luminance": 0.18318
}

Semantic roles & 50–950 ramp

primary
#C336C6
secondary
#8CCD8B
accent
#E0474B
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C336C6

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

Preview Lab → · Contrast checker → · Palette generator →

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