#C336C5#C336C5

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

Color values

HEX#C336C5
RGBrgb(195, 54, 197)
HSLhsl(299, 57%, 49%)
HSVhsv(299, 73%, 77%)
CMYKcmyk(1%, 72.6%, 0%, 22.7%)
CIE-LABlab(49.83, 70.86, -45.35)
CIE-LCHlch(49.83, 84.13, 327.38°)
OKLaboklab(59.82% 0.1968 -0.1258)
OKLCHoklch(59.82% 0.234 327.4)
XYZxyz(33.9024, 18.2741, 54.5541)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336C5 #38C536
analogous
#7C36C5 #C336C5 #C53680
triadic
#C336C5 #C5C336 #36C5C3
tetradic
#C336C5 #C57C36 #38C536 #3680C5
square
#C336C5 #C57C36 #38C536 #3680C5
split-complementary
#C336C5 #80C536 #36C57C
monochromatic
#641C65 #932995 #C336C5 #D364D4 #E194E2

Accessibility & contrast

On white

4.51
#C336C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C336C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C336C5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336C5#FFFFFF#000000##000000
##C336C51.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#156BC9
Deuteranopia (green-blind)
#5B7DC1
Tritanopia (blue-blind)
#C94D7B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c336c5;
/* rgb */ color: rgb(195, 54, 197);
/* oklch */ color: oklch(59.8% 0.234 327.4);
Tailwind
colors: {
  custom: {
    50: '#d97bd7',
    500: '#c336c5',
    950: '#000000',
  },
}
SCSS
$custom: #c336c5;
$custom-light: #d97bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#c336c5",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 299.161,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59824,
    "c": 0.23355,
    "h": 327.4
  },
  "luminance": 0.18272
}

Semantic roles & 50–950 ramp

primary
#C336C5
secondary
#8BCD8A
accent
#E0484A
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C336C5

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

Preview Lab → · Contrast checker → · Palette generator →

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