#CC7FC8#CC7FC8

#CC7FC8 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.2% C 0.134 H 328.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CC7FC8
RGBrgb(204, 127, 200)
HSLhsl(303, 43%, 65%)
HSVhsv(303, 38%, 80%)
CMYKcmyk(0%, 37.7%, 2%, 20%)
CIE-LABlab(63.50, 40.92, -25.60)
CIE-LCHlch(63.50, 48.27, 327.97°)
OKLaboklab(70.18% 0.1145 -0.0695)
OKLCHoklch(70.18% 0.134 328.7)
XYZxyz(42.9158, 32.1882, 58.5848)
Luminance0.3219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FC8 #7FCC83
analogous
#AA7FCC #CC7FC8 #CC7FA1
triadic
#CC7FC8 #C8CC7F #7FC8CC
tetradic
#CC7FC8 #CCAA7F #7FCC83 #7FA1CC
square
#CC7FC8 #CCAA7F #7FCC83 #7FA1CC
split-complementary
#CC7FC8 #A1CC7F #7FCCAA
monochromatic
#953B91 #BB53B5 #CC7FC8 #DDABDB #EFD7EE

Accessibility & contrast

On white

2.82
#CC7FC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CC7FC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FC8
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FC8#FFFFFF#000000##000000
##CC7FC81.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B93CB
Deuteranopia (green-blind)
#8F9DC6
Tritanopia (blue-blind)
#D1859A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7fc8;
/* rgb */ color: rgb(204, 127, 200);
/* oklch */ color: oklch(70.2% 0.134 328.7);
Tailwind
colors: {
  custom: {
    50: '#dda6d9',
    500: '#cc7fc8',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fc8;
$custom-light: #dda6d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fc8",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 303.117,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70178,
    "c": 0.13393,
    "h": 328.7
  },
  "luminance": 0.32186
}

Semantic roles & 50–950 ramp

primary
#CC7FC8
secondary
#C6E1C8
accent
#B6362F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC7FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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