#CC46CC#CC46CC

#CC46CC is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.9% C 0.225 H 327.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CC46CC
RGBrgb(204, 70, 204)
HSLhsl(300, 57%, 54%)
HSVhsv(300, 66%, 80%)
CMYKcmyk(0%, 65.7%, 0%, 20%)
CIE-LABlab(53.58, 68.41, -43.35)
CIE-LCHlch(53.58, 80.98, 327.64°)
OKLaboklab(62.91% 0.1907 -0.1199)
OKLCHoklch(62.91% 0.225 327.8)
XYZxyz(37.9906, 21.5799, 59.2794)
Luminance0.2158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46CC #46CC46
analogous
#8946CC #CC46CC #CC4689
triadic
#CC46CC #CCCC46 #46CCCC
tetradic
#CC46CC #CC8946 #46CC46 #4689CC
square
#CC46CC #CC8946 #46CC46 #4689CC
split-complementary
#CC46CC #89CC46 #46CC89
monochromatic
#772177 #A72EA7 #CC46CC #D976D9 #E6A6E6

Accessibility & contrast

On white

3.95
#CC46CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CC46CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46CC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46CC#FFFFFF#000000##000000
##CC46CC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3375D0
Deuteranopia (green-blind)
#6786C8
Tritanopia (blue-blind)
#D25983
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc46cc;
/* rgb */ color: rgb(204, 70, 204);
/* oklch */ color: oklch(62.9% 0.225 327.8);
Tailwind
colors: {
  custom: {
    50: '#df84dc',
    500: '#cc46cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc46cc;
$custom-light: #df84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46cc",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62913,
    "c": 0.22522,
    "h": 327.8
  },
  "luminance": 0.21577
}

Semantic roles & 50–950 ramp

primary
#CC46CC
secondary
#9AD49A
accent
#E04848
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC46CC

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

Preview Lab → · Contrast checker → · Palette generator →

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