#CC35B5#CC35B5

#CC35B5 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.2% C 0.228 H 335.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CC35B5
RGBrgb(204, 53, 181)
HSLhsl(309, 60%, 50%)
HSVhsv(309, 74%, 80%)
CMYKcmyk(0%, 74%, 11.3%, 20%)
CIE-LABlab(50.36, 70.68, -35.11)
CIE-LCHlch(50.36, 78.92, 333.58°)
OKLaboklab(60.22% 0.2063 -0.096)
OKLCHoklch(60.22% 0.228 335.1)
XYZxyz(34.5159, 18.7228, 45.5031)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC35B5 #35CC4C
analogous
#9735CC #CC35B5 #CC3569
triadic
#CC35B5 #B5CC35 #35B5CC
tetradic
#CC35B5 #CC9735 #35CC4C #3569CC
square
#CC35B5 #CC9735 #35CC4C #3569CC
split-complementary
#CC35B5 #69CC35 #35CC97
monochromatic
#6B1B5F #9C278B #CC35B5 #D866C7 #E597D9

Accessibility & contrast

On white

4.43
#CC35B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CC35B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC35B5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC35B5#FFFFFF#000000##000000
##CC35B51.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#346AB8
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#D64272
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc35b5;
/* rgb */ color: rgb(204, 53, 181);
/* oklch */ color: oklch(60.2% 0.228 335.1);
Tailwind
colors: {
  custom: {
    50: '#e07bcb',
    500: '#cc35b5',
    950: '#000000',
  },
}
SCSS
$custom: #cc35b5;
$custom-light: #e07bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc35b5",
  "rgb": {
    "r": 204,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 309.139,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60221,
    "c": 0.22752,
    "h": 335.1
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#CC35B5
secondary
#8DD097
accent
#E35D45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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