#CC46CB#CC46CB

#CC46CB is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.9% C 0.224 H 328.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CC46CB
RGBrgb(204, 70, 203)
HSLhsl(300, 57%, 54%)
HSVhsv(300, 66%, 80%)
CMYKcmyk(0%, 65.7%, 0.5%, 20%)
CIE-LABlab(53.53, 68.24, -42.86)
CIE-LCHlch(53.53, 80.58, 327.87°)
OKLaboklab(62.86% 0.1906 -0.1184)
OKLCHoklch(62.86% 0.224 328.2)
XYZxyz(37.8710, 21.5321, 58.6498)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46CB #46CC47
analogous
#8A46CC #CC46CB #CC4688
triadic
#CC46CB #CBCC46 #46CBCC
tetradic
#CC46CB #CC8A46 #46CC47 #4688CC
square
#CC46CB #CC8A46 #46CC47 #4688CC
split-complementary
#CC46CB #88CC46 #46CC8A
monochromatic
#772176 #A72EA6 #CC46CB #D976D8 #E6A6E6

Accessibility & contrast

On white

3.96
#CC46CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CC46CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46CB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46CB#FFFFFF#000000##000000
##CC46CB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475CF
Deuteranopia (green-blind)
#6886C7
Tritanopia (blue-blind)
#D25883
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc46cb;
/* rgb */ color: rgb(204, 70, 203);
/* oklch */ color: oklch(62.9% 0.224 328.2);
Tailwind
colors: {
  custom: {
    50: '#df84db',
    500: '#cc46cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc46cb;
$custom-light: #df84db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46cb",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 300.448,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62859,
    "c": 0.22443,
    "h": 328.2
  },
  "luminance": 0.21529
}

Semantic roles & 50–950 ramp

primary
#CC46CB
secondary
#9AD49B
accent
#E04948
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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