#CC46C7#CC46C7

#CC46C7 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.6% C 0.221 H 329.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CC46C7
RGBrgb(204, 70, 199)
HSLhsl(302, 57%, 54%)
HSVhsv(302, 66%, 80%)
CMYKcmyk(0%, 65.7%, 2.5%, 20%)
CIE-LABlab(53.32, 67.59, -40.88)
CIE-LCHlch(53.32, 78.99, 328.83°)
OKLaboklab(62.65% 0.1904 -0.1127)
OKLCHoklch(62.65% 0.221 329.4)
XYZxyz(37.4005, 21.3439, 56.1717)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46C7 #46CC4B
analogous
#8E46CC #CC46C7 #CC4684
triadic
#CC46C7 #C7CC46 #46C7CC
tetradic
#CC46C7 #CC8E46 #46CC4B #4684CC
square
#CC46C7 #CC8E46 #46CC4B #4684CC
split-complementary
#CC46C7 #84CC46 #46CC8E
monochromatic
#772174 #A72EA2 #CC46C7 #D976D6 #E6A6E4

Accessibility & contrast

On white

3.99
#CC46C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CC46C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46C7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46C7#FFFFFF#000000##000000
##CC46C71.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CB
Deuteranopia (green-blind)
#6A86C3
Tritanopia (blue-blind)
#D35681
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc46c7;
/* rgb */ color: rgb(204, 70, 199);
/* oklch */ color: oklch(62.6% 0.221 329.4);
Tailwind
colors: {
  custom: {
    50: '#df84d8',
    500: '#cc46c7',
    950: '#000000',
  },
}
SCSS
$custom: #cc46c7;
$custom-light: #df84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46c7",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 302.239,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62647,
    "c": 0.2213,
    "h": 329.4
  },
  "luminance": 0.21341
}

Semantic roles & 50–950 ramp

primary
#CC46C7
secondary
#9AD49C
accent
#E04D48
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC46C7

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

Preview Lab → · Contrast checker → · Palette generator →

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