#CC35C2#CC35C2

#CC35C2 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.9% C 0.237 H 331.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CC35C2
RGBrgb(204, 53, 194)
HSLhsl(304, 60%, 50%)
HSVhsv(304, 74%, 80%)
CMYKcmyk(0%, 74%, 4.9%, 20%)
CIE-LABlab(51.01, 72.61, -41.64)
CIE-LCHlch(51.01, 83.71, 330.17°)
OKLaboklab(60.9% 0.2069 -0.1148)
OKLCHoklch(60.9% 0.237 331)
XYZxyz(35.9125, 19.2815, 52.8587)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC35C2 #35CC3F
analogous
#8B35CC #CC35C2 #CC3576
triadic
#CC35C2 #C2CC35 #35C2CC
tetradic
#CC35C2 #CC8B35 #35CC3F #3576CC
square
#CC35C2 #CC8B35 #35CC3F #3576CC
split-complementary
#CC35C2 #76CC35 #35CC8B
monochromatic
#6B1B66 #9C2795 #CC35C2 #D866D1 #E597E0

Accessibility & contrast

On white

4.32
#CC35C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CC35C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC35C2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC35C2#FFFFFF#000000##000000
##CC35C21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#256CC6
Deuteranopia (green-blind)
#6581BE
Tritanopia (blue-blind)
#D44879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc35c2;
/* rgb */ color: rgb(204, 53, 194);
/* oklch */ color: oklch(60.9% 0.237 331.0);
Tailwind
colors: {
  custom: {
    50: '#e07cd5',
    500: '#cc35c2',
    950: '#000000',
  },
}
SCSS
$custom: #cc35c2;
$custom-light: #e07cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc35c2",
  "rgb": {
    "r": 204,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 303.974,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60902,
    "c": 0.23664,
    "h": 331
  },
  "luminance": 0.19279
}

Semantic roles & 50–950 ramp

primary
#CC35C2
secondary
#8DD091
accent
#E34F45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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