#CC7FCF#CC7FCF

#CC7FCF is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.5% C 0.141 H 325.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CC7FCF
RGBrgb(204, 127, 207)
HSLhsl(298, 45%, 65%)
HSVhsv(298, 39%, 81%)
CMYKcmyk(1.4%, 38.6%, 0%, 18.8%)
CIE-LABlab(63.77, 42.22, -29.11)
CIE-LCHlch(63.77, 51.28, 325.41°)
OKLaboklab(70.47% 0.1161 -0.0795)
OKLCHoklch(70.47% 0.141 325.6)
XYZxyz(43.7527, 32.5229, 62.9923)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FCF #82CF7F
analogous
#A47FCF #CC7FCF #CF7FAA
triadic
#CC7FCF #CFCC7F #7FCFCC
tetradic
#CC7FCF #CFA47F #82CF7F #7FAACF
square
#CC7FCF #CFA47F #82CF7F #7FAACF
split-complementary
#CC7FCF #AACF7F #7FCFA4
monochromatic
#963A9A #BA52BE #CC7FCF #DEACE0 #EFD8F0

Accessibility & contrast

On white

2.80
#CC7FCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CC7FCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FCF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FCF#FFFFFF#000000##000000
##CC7FCF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D2
Deuteranopia (green-blind)
#8C9ECC
Tritanopia (blue-blind)
#D0879D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7fcf;
/* rgb */ color: rgb(204, 127, 207);
/* oklch */ color: oklch(70.5% 0.141 325.6);
Tailwind
colors: {
  custom: {
    50: '#dda6de',
    500: '#cc7fcf',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fcf;
$custom-light: #dda6de;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fcf",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 297.75,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70475,
    "c": 0.14069,
    "h": 325.6
  },
  "luminance": 0.32521
}

Semantic roles & 50–950 ramp

primary
#CC7FCF
secondary
#C9E2C8
accent
#B92D32
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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