#CC35B8#CC35B8

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

Color values

HEX#CC35B8
RGBrgb(204, 53, 184)
HSLhsl(308, 60%, 50%)
HSVhsv(308, 74%, 80%)
CMYKcmyk(0%, 74%, 9.8%, 20%)
CIE-LABlab(50.51, 71.12, -36.63)
CIE-LCHlch(50.51, 80.00, 332.75°)
OKLaboklab(60.37% 0.2065 -0.1003)
OKLCHoklch(60.37% 0.23 334.1)
XYZxyz(34.8270, 18.8473, 47.1418)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC35B8 #35CC49
analogous
#9435CC #CC35B8 #CC356C
triadic
#CC35B8 #B8CC35 #35B8CC
tetradic
#CC35B8 #CC9435 #35CC49 #356CCC
square
#CC35B8 #CC9435 #35CC49 #356CCC
split-complementary
#CC35B8 #6CCC35 #35CC94
monochromatic
#6B1B61 #9C278D #CC35B8 #D866C9 #E597DA

Accessibility & contrast

On white

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

On black

4.77
#CC35B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC35B8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC35B8#FFFFFF#000000##000000
##CC35B81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#316ABC
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#D64374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc35b8;
/* rgb */ color: rgb(204, 53, 184);
/* oklch */ color: oklch(60.4% 0.230 334.1);
Tailwind
colors: {
  custom: {
    50: '#e07bce',
    500: '#cc35b8',
    950: '#000000',
  },
}
SCSS
$custom: #cc35b8;
$custom-light: #e07bce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc35b8",
  "rgb": {
    "r": 204,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 307.947,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60374,
    "c": 0.22959,
    "h": 334.1
  },
  "luminance": 0.18844
}

Semantic roles & 50–950 ramp

primary
#CC35B8
secondary
#8DD096
accent
#E35A45
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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