#CC35C5#CC35C5

#CC35C5 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.1% C 0.239 H 330.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC35C5
RGBrgb(204, 53, 197)
HSLhsl(303, 60%, 50%)
HSVhsv(303, 74%, 80%)
CMYKcmyk(0%, 74%, 3.4%, 20%)
CIE-LABlab(51.17, 73.07, -43.13)
CIE-LCHlch(51.17, 84.85, 329.45°)
OKLaboklab(61.07% 0.207 -0.1191)
OKLCHoklch(61.07% 0.239 330.1)
XYZxyz(36.2528, 19.4176, 54.6511)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC35C5 #35CC3C
analogous
#8735CC #CC35C5 #CC357A
triadic
#CC35C5 #C5CC35 #35C5CC
tetradic
#CC35C5 #CC8735 #35CC3C #357ACC
square
#CC35C5 #CC8735 #35CC3C #357ACC
split-complementary
#CC35C5 #7ACC35 #35CC87
monochromatic
#6B1B68 #9C2797 #CC35C5 #D866D3 #E597E1

Accessibility & contrast

On white

4.30
#CC35C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CC35C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC35C5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC35C5#FFFFFF#000000##000000
##CC35C51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#216DC9
Deuteranopia (green-blind)
#6381C1
Tritanopia (blue-blind)
#D44A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc35c5;
/* rgb */ color: rgb(204, 53, 197);
/* oklch */ color: oklch(61.1% 0.239 330.1);
Tailwind
colors: {
  custom: {
    50: '#e07cd7',
    500: '#cc35c5',
    950: '#000000',
  },
}
SCSS
$custom: #cc35c5;
$custom-light: #e07cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc35c5",
  "rgb": {
    "r": 204,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 302.781,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61066,
    "c": 0.2388,
    "h": 330.1
  },
  "luminance": 0.19415
}

Semantic roles & 50–950 ramp

primary
#CC35C5
secondary
#8DD090
accent
#E34C45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC35C5

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

Preview Lab → · Contrast checker → · Palette generator →

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