#CC7FDF#CC7FDF

#CC7FDF is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.157 H 319.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CC7FDF
RGBrgb(204, 127, 223)
HSLhsl(288, 60%, 69%)
HSVhsv(288, 43%, 87%)
CMYKcmyk(8.5%, 43%, 0%, 12.5%)
CIE-LABlab(64.44, 45.30, -37.01)
CIE-LCHlch(64.44, 58.49, 320.75°)
OKLaboklab(71.19% 0.1194 -0.102)
OKLCHoklch(71.19% 0.157 319.5)
XYZxyz(45.8088, 33.3454, 73.8210)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FDF #92DF7F
analogous
#9C7FDF #CC7FDF #DF7FC2
triadic
#CC7FDF #DFCC7F #7FDFCC
tetradic
#CC7FDF #DF9C7F #92DF7F #7FC2DF
square
#CC7FDF #DF9C7F #92DF7F #7FC2DF
split-complementary
#CC7FDF #C2DF7F #7FDF9C
monochromatic
#9B2EB6 #B84ED3 #CC7FDF #E0B0EB #F3E1F7

Accessibility & contrast

On white

2.74
#CC7FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CC7FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FDF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FDF#FFFFFF#000000##000000
##CC7FDF1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E2
Deuteranopia (green-blind)
#859FDC
Tritanopia (blue-blind)
#CD8BA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7fdf;
/* rgb */ color: rgb(204, 127, 223);
/* oklch */ color: oklch(71.2% 0.157 319.5);
Tailwind
colors: {
  custom: {
    50: '#dda6e9',
    500: '#cc7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fdf;
$custom-light: #dda6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fdf",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 288.125,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71194,
    "c": 0.15701,
    "h": 319.5
  },
  "luminance": 0.33344
}

Semantic roles & 50–950 ramp

primary
#CC7FDF
secondary
#D4EBCF
accent
#C81E3F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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