#CC35B3#CC35B3

#CC35B3 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.1% C 0.226 H 335.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC35B3
RGBrgb(204, 53, 179)
HSLhsl(310, 60%, 50%)
HSVhsv(310, 74%, 80%)
CMYKcmyk(0%, 74%, 12.3%, 20%)
CIE-LABlab(50.27, 70.39, -34.09)
CIE-LCHlch(50.27, 78.22, 334.16°)
OKLaboklab(60.12% 0.2061 -0.093)
OKLCHoklch(60.12% 0.226 335.7)
XYZxyz(34.3121, 18.6414, 44.4301)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC35B3 #35CC4E
analogous
#9A35CC #CC35B3 #CC3567
triadic
#CC35B3 #B3CC35 #35B3CC
tetradic
#CC35B3 #CC9A35 #35CC4E #3567CC
square
#CC35B3 #CC9A35 #35CC4E #3567CC
split-complementary
#CC35B3 #67CC35 #35CC9A
monochromatic
#6B1B5E #9C2789 #CC35B3 #D866C5 #E597D8

Accessibility & contrast

On white

4.44
#CC35B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CC35B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC35B3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC35B3#FFFFFF#000000##000000
##CC35B31.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#6C80AF
Tritanopia (blue-blind)
#D64171
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc35b3;
/* rgb */ color: rgb(204, 53, 179);
/* oklch */ color: oklch(60.1% 0.226 335.7);
Tailwind
colors: {
  custom: {
    50: '#e07bca',
    500: '#cc35b3',
    950: '#000000',
  },
}
SCSS
$custom: #cc35b3;
$custom-light: #e07bca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc35b3",
  "rgb": {
    "r": 204,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 309.934,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6012,
    "c": 0.22616,
    "h": 335.7
  },
  "luminance": 0.18638
}

Semantic roles & 50–950 ramp

primary
#CC35B3
secondary
#8DD098
accent
#E35F45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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