#CC35C7#CC35C7

#CC35C7 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.2% C 0.240 H 329.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CC35C7
RGBrgb(204, 53, 199)
HSLhsl(302, 60%, 50%)
HSVhsv(302, 74%, 80%)
CMYKcmyk(0%, 74%, 2.5%, 20%)
CIE-LABlab(51.28, 73.38, -44.12)
CIE-LCHlch(51.28, 85.62, 328.99°)
OKLaboklab(61.18% 0.207 -0.122)
OKLCHoklch(61.18% 0.24 329.5)
XYZxyz(36.4835, 19.5099, 55.8660)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC35C7 #35CC3A
analogous
#8635CC #CC35C7 #CC357B
triadic
#CC35C7 #C7CC35 #35C7CC
tetradic
#CC35C7 #CC8635 #35CC3A #357BCC
square
#CC35C7 #CC8635 #35CC3A #357BCC
split-complementary
#CC35C7 #7BCC35 #35CC86
monochromatic
#6B1B69 #9C2798 #CC35C7 #D866D5 #E597E2

Accessibility & contrast

On white

4.28
#CC35C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CC35C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC35C7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC35C7#FFFFFF#000000##000000
##CC35C71.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6DCB
Deuteranopia (green-blind)
#6281C3
Tritanopia (blue-blind)
#D34B7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc35c7;
/* rgb */ color: rgb(204, 53, 199);
/* oklch */ color: oklch(61.2% 0.240 329.5);
Tailwind
colors: {
  custom: {
    50: '#e07cd8',
    500: '#cc35c7',
    950: '#000000',
  },
}
SCSS
$custom: #cc35c7;
$custom-light: #e07cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc35c7",
  "rgb": {
    "r": 204,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 301.987,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61176,
    "c": 0.24026,
    "h": 329.5
  },
  "luminance": 0.19507
}

Semantic roles & 50–950 ramp

primary
#CC35C7
secondary
#8DD08F
accent
#E34A45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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