#CC45F1#CC45F1

#CC45F1 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 65.0% C 0.257 H 318.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CC45F1
RGBrgb(204, 69, 241)
HSLhsl(287, 86%, 61%)
HSVhsv(287, 71%, 95%)
CMYKcmyk(15.4%, 71.4%, 0%, 5.5%)
CIE-LABlab(55.53, 75.24, -61.17)
CIE-LCHlch(55.53, 96.96, 320.89°)
OKLaboklab(64.98% 0.1907 -0.1718)
OKLCHoklch(64.98% 0.257 318)
XYZxyz(42.9049, 23.4464, 85.4676)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45F1 #6AF145
analogous
#7645F1 #CC45F1 #F145C0
triadic
#CC45F1 #F1CC45 #45F1CC
tetradic
#CC45F1 #F17645 #6AF145 #45C0F1
square
#CC45F1 #F17645 #6AF145 #45C0F1
split-complementary
#CC45F1 #C0F145 #45F176
monochromatic
#8C0DAE #B911E7 #CC45F1 #DC7EF5 #EBB7FA

Accessibility & contrast

On white

3.69
#CC45F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CC45F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45F1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45F1#FFFFFF#000000##000000
##CC45F11.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF6
Deuteranopia (green-blind)
#4C89ED
Tritanopia (blue-blind)
#CB6897
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc45f1;
/* rgb */ color: rgb(204, 69, 241);
/* oklch */ color: oklch(65.0% 0.257 318.0);
Tailwind
colors: {
  custom: {
    50: '#e085f6',
    500: '#cc45f1',
    950: '#000000',
  },
}
SCSS
$custom: #cc45f1;
$custom-light: #e085f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45f1",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 241
  },
  "hsl": {
    "h": 287.093,
    "s": 86,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6498,
    "c": 0.25668,
    "h": 318
  },
  "luminance": 0.23444
}

Semantic roles & 50–950 ramp

primary
#CC45F1
secondary
#B6E9A8
accent
#E30333
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC45F1

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

Preview Lab → · Contrast checker → · Palette generator →

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