#CC4CF3#CC4CF3

#CC4CF3 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.8% C 0.251 H 317.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CC4CF3
RGBrgb(204, 76, 243)
HSLhsl(286, 87%, 63%)
HSVhsv(286, 69%, 95%)
CMYKcmyk(16%, 68.7%, 0%, 4.7%)
CIE-LABlab(56.56, 73.02, -60.62)
CIE-LCHlch(56.56, 94.90, 320.30°)
OKLaboklab(65.76% 0.1838 -0.1703)
OKLCHoklch(65.76% 0.251 317.2)
XYZxyz(43.6616, 24.4791, 87.2017)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CF3 #73F34C
analogous
#784CF3 #CC4CF3 #F34CC7
triadic
#CC4CF3 #F3CC4C #4CF3CC
tetradic
#CC4CF3 #F3784C #73F34C #4CC7F3
square
#CC4CF3 #F3784C #73F34C #4CC7F3
split-complementary
#CC4CF3 #C7F34C #4CF378
monochromatic
#900CB8 #BC13EF #CC4CF3 #DC85F7 #EDBFFB

Accessibility & contrast

On white

3.56
#CC4CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CC4CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CF3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CF3#FFFFFF#000000##000000
##CC4CF31.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#508CEF
Tritanopia (blue-blind)
#CA6D9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc4cf3;
/* rgb */ color: rgb(204, 76, 243);
/* oklch */ color: oklch(65.8% 0.251 317.2);
Tailwind
colors: {
  custom: {
    50: '#e088f8',
    500: '#cc4cf3',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cf3;
$custom-light: #e088f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cf3",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 243
  },
  "hsl": {
    "h": 285.988,
    "s": 87.435,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65757,
    "c": 0.25056,
    "h": 317.2
  },
  "luminance": 0.24477
}

Semantic roles & 50–950 ramp

primary
#CC4CF3
secondary
#BDECAF
accent
#E40236
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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