#CC45F7#CC45F7

#CC45F7 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.4% C 0.262 H 316.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CC45F7
RGBrgb(204, 69, 247)
HSLhsl(286, 92%, 62%)
HSVhsv(286, 72%, 97%)
CMYKcmyk(17.4%, 72.1%, 0%, 3.1%)
CIE-LABlab(55.90, 76.34, -63.92)
CIE-LCHlch(55.90, 99.57, 320.06°)
OKLaboklab(65.36% 0.1901 -0.1799)
OKLCHoklch(65.36% 0.262 316.6)
XYZxyz(43.8159, 23.8108, 90.2656)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45F7 #70F745
analogous
#7345F7 #CC45F7 #F745C9
triadic
#CC45F7 #F7CC45 #45F7CC
tetradic
#CC45F7 #F77345 #70F745 #45C9F7
square
#CC45F7 #F77345 #70F745 #45C9F7
split-complementary
#CC45F7 #C9F745 #45F773
monochromatic
#8F08BA #BC0BF4 #CC45F7 #DC80FA #ECBAFC

Accessibility & contrast

On white

3.64
#CC45F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CC45F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45F7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45F7#FFFFFF#000000##000000
##CC45F71.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#468AF3
Tritanopia (blue-blind)
#C96A9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc45f7;
/* rgb */ color: rgb(204, 69, 247);
/* oklch */ color: oklch(65.4% 0.262 316.6);
Tailwind
colors: {
  custom: {
    50: '#e085fb',
    500: '#cc45f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc45f7;
$custom-light: #e085fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45f7",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 247
  },
  "hsl": {
    "h": 285.506,
    "s": 91.753,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65359,
    "c": 0.26172,
    "h": 316.6
  },
  "luminance": 0.23809
}

Semantic roles & 50–950 ramp

primary
#CC45F7
secondary
#BBEDAB
accent
#E60037
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC45F7

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

Preview Lab → · Contrast checker → · Palette generator →

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