#CC45C8#CC45C8

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

Color values

HEX#CC45C8
RGBrgb(204, 69, 200)
HSLhsl(302, 57%, 54%)
HSVhsv(302, 66%, 80%)
CMYKcmyk(0%, 66.2%, 2%, 20%)
CIE-LABlab(53.24, 68.13, -41.59)
CIE-LCHlch(53.24, 79.82, 328.60°)
OKLaboklab(62.6% 0.1916 -0.1148)
OKLCHoklch(62.6% 0.223 329.1)
XYZxyz(37.4549, 21.2664, 56.7645)
Luminance0.2126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45C8 #45CC49
analogous
#8C45CC #CC45C8 #CC4584
triadic
#CC45C8 #C8CC45 #45C8CC
tetradic
#CC45C8 #CC8C45 #45CC49 #4584CC
square
#CC45C8 #CC8C45 #45CC49 #4584CC
split-complementary
#CC45C8 #84CC45 #45CC8C
monochromatic
#762074 #A62EA3 #CC45C8 #D975D6 #E6A5E4

Accessibility & contrast

On white

4.00
#CC45C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CC45C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45C8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45C8#FFFFFF#000000##000000
##CC45C81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3674CC
Deuteranopia (green-blind)
#6986C4
Tritanopia (blue-blind)
#D35681
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc45c8;
/* rgb */ color: rgb(204, 69, 200);
/* oklch */ color: oklch(62.6% 0.223 329.1);
Tailwind
colors: {
  custom: {
    50: '#df83d9',
    500: '#cc45c8',
    950: '#000000',
  },
}
SCSS
$custom: #cc45c8;
$custom-light: #df83d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45c8",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 301.778,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62602,
    "c": 0.22331,
    "h": 329.1
  },
  "luminance": 0.21264
}

Semantic roles & 50–950 ramp

primary
#CC45C8
secondary
#99D39B
accent
#E04C48
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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