#CC35B9#CC35B9

#CC35B9 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.230 H 333.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CC35B9
RGBrgb(204, 53, 185)
HSLhsl(308, 60%, 50%)
HSVhsv(308, 74%, 80%)
CMYKcmyk(0%, 74%, 9.3%, 20%)
CIE-LABlab(50.56, 71.26, -37.14)
CIE-LCHlch(50.56, 80.36, 332.47°)
OKLaboklab(60.43% 0.2066 -0.1018)
OKLCHoklch(60.43% 0.23 333.8)
XYZxyz(34.9322, 18.8894, 47.6958)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC35B9 #35CC48
analogous
#9435CC #CC35B9 #CC356D
triadic
#CC35B9 #B9CC35 #35B9CC
tetradic
#CC35B9 #CC9435 #35CC48 #356DCC
square
#CC35B9 #CC9435 #35CC48 #356DCC
split-complementary
#CC35B9 #6DCC35 #35CC94
monochromatic
#6B1B61 #9C278E #CC35B9 #D866CA #E597DB

Accessibility & contrast

On white

4.40
#CC35B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CC35B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC35B9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC35B9#FFFFFF#000000##000000
##CC35B91.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#306ABD
Deuteranopia (green-blind)
#6980B5
Tritanopia (blue-blind)
#D54474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc35b9;
/* rgb */ color: rgb(204, 53, 185);
/* oklch */ color: oklch(60.4% 0.230 333.8);
Tailwind
colors: {
  custom: {
    50: '#e07cce',
    500: '#cc35b9',
    950: '#000000',
  },
}
SCSS
$custom: #cc35b9;
$custom-light: #e07cce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc35b9",
  "rgb": {
    "r": 204,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 307.55,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60426,
    "c": 0.23028,
    "h": 333.8
  },
  "luminance": 0.18886
}

Semantic roles & 50–950 ramp

primary
#CC35B9
secondary
#8DD095
accent
#E35945
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC35B9

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

Preview Lab → · Contrast checker → · Palette generator →

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