#CC4CF5#CC4CF5

#CC4CF5 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.9% C 0.252 H 316.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CC4CF5
RGBrgb(204, 76, 245)
HSLhsl(285, 89%, 63%)
HSVhsv(285, 69%, 96%)
CMYKcmyk(16.7%, 69%, 0%, 3.9%)
CIE-LABlab(56.68, 73.39, -61.54)
CIE-LCHlch(56.68, 95.78, 320.02°)
OKLaboklab(65.88% 0.1837 -0.173)
OKLCHoklch(65.88% 0.252 316.7)
XYZxyz(43.9652, 24.6006, 88.8010)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CF5 #75F54C
analogous
#774CF5 #CC4CF5 #F54CC9
triadic
#CC4CF5 #F5CC4C #4CF5CC
tetradic
#CC4CF5 #F5774C #75F54C #4CC9F5
square
#CC4CF5 #F5774C #75F54C #4CC9F5
split-complementary
#CC4CF5 #C9F54C #4CF577
monochromatic
#910BBC #BB12F2 #CC4CF5 #DD86F8 #EDC0FB

Accessibility & contrast

On white

3.55
#CC4CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CC4CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CF5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CF5#FFFFFF#000000##000000
##CC4CF51.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#4E8CF1
Tritanopia (blue-blind)
#CA6E9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc4cf5;
/* rgb */ color: rgb(204, 76, 245);
/* oklch */ color: oklch(65.9% 0.252 316.7);
Tailwind
colors: {
  custom: {
    50: '#e088f9',
    500: '#cc4cf5',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cf5;
$custom-light: #e088f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cf5",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 245
  },
  "hsl": {
    "h": 285.444,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65881,
    "c": 0.25229,
    "h": 316.7
  },
  "luminance": 0.24599
}

Semantic roles & 50–950 ramp

primary
#CC4CF5
secondary
#BFEDB0
accent
#E60038
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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