#CC7FD2#CC7FD2

#CC7FD2 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.6% C 0.144 H 324.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CC7FD2
RGBrgb(204, 127, 210)
HSLhsl(296, 48%, 66%)
HSVhsv(296, 40%, 82%)
CMYKcmyk(2.9%, 39.5%, 0%, 17.6%)
CIE-LABlab(63.89, 42.78, -30.60)
CIE-LCHlch(63.89, 52.60, 324.42°)
OKLaboklab(70.6% 0.1168 -0.0837)
OKLCHoklch(70.6% 0.144 324.4)
XYZxyz(44.1229, 32.6710, 64.9422)
Luminance0.3267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FD2 #85D27F
analogous
#A27FD2 #CC7FD2 #D27FAE
triadic
#CC7FD2 #D2CC7F #7FD2CC
tetradic
#CC7FD2 #D2A27F #85D27F #7FAED2
square
#CC7FD2 #D2A27F #85D27F #7FAED2
split-complementary
#CC7FD2 #AED27F #7FD2A2
monochromatic
#97389F #BA52C2 #CC7FD2 #DEACE2 #F0DAF2

Accessibility & contrast

On white

2.79
#CC7FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CC7FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FD2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FD2#FFFFFF#000000##000000
##CC7FD21.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7795D5
Deuteranopia (green-blind)
#8B9ECF
Tritanopia (blue-blind)
#CF889F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc7fd2;
/* rgb */ color: rgb(204, 127, 210);
/* oklch */ color: oklch(70.6% 0.144 324.4);
Tailwind
colors: {
  custom: {
    50: '#dda6e0',
    500: '#cc7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fd2;
$custom-light: #dda6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fd2",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 295.663,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70605,
    "c": 0.14367,
    "h": 324.4
  },
  "luminance": 0.32669
}

Semantic roles & 50–950 ramp

primary
#CC7FD2
secondary
#CBE4C9
accent
#BB2A35
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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