#CC4FD2#CC4FD2

#CC4FD2 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.2% C 0.219 H 325.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CC4FD2
RGBrgb(204, 79, 210)
HSLhsl(297, 59%, 57%)
HSVhsv(297, 62%, 82%)
CMYKcmyk(2.9%, 62.4%, 0%, 17.6%)
CIE-LABlab(55.16, 65.87, -44.27)
CIE-LCHlch(55.16, 79.36, 326.09°)
OKLaboklab(64.16% 0.181 -0.1226)
OKLCHoklch(64.16% 0.219 325.9)
XYZxyz(39.3299, 23.0849, 63.3445)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FD2 #55D24F
analogous
#8B4FD2 #CC4FD2 #D24F97
triadic
#CC4FD2 #D2CC4F #4FD2CC
tetradic
#CC4FD2 #D28B4F #55D24F #4F97D2
square
#CC4FD2 #D28B4F #55D24F #4F97D2
split-complementary
#CC4FD2 #97D24F #4FD28B
monochromatic
#802285 #AF2EB5 #CC4FD2 #DA80DE #E8B0EB

Accessibility & contrast

On white

3.74
#CC4FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CC4FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FD2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FD2#FFFFFF#000000##000000
##CC4FD21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7AD6
Deuteranopia (green-blind)
#698ACF
Tritanopia (blue-blind)
#D1618A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc4fd2;
/* rgb */ color: rgb(204, 79, 210);
/* oklch */ color: oklch(64.2% 0.219 325.9);
Tailwind
colors: {
  custom: {
    50: '#df89e0',
    500: '#cc4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fd2;
$custom-light: #df89e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fd2",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 297.252,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64156,
    "c": 0.21859,
    "h": 325.9
  },
  "luminance": 0.23082
}

Semantic roles & 50–950 ramp

primary
#CC4FD2
secondary
#A6D9A4
accent
#E2454D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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