#CC7FC6#CC7FC6

#CC7FC6 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.1% C 0.132 H 329.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CC7FC6
RGBrgb(204, 127, 198)
HSLhsl(305, 43%, 65%)
HSVhsv(305, 38%, 80%)
CMYKcmyk(0%, 37.7%, 2.9%, 20%)
CIE-LABlab(63.42, 40.56, -24.60)
CIE-LCHlch(63.42, 47.43, 328.77°)
OKLaboklab(70.1% 0.114 -0.0667)
OKLCHoklch(70.1% 0.132 329.7)
XYZxyz(42.6836, 32.0953, 57.3618)
Luminance0.3209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FC6 #7FCC85
analogous
#AB7FCC #CC7FC6 #CC7FA0
triadic
#CC7FC6 #C6CC7F #7FC6CC
tetradic
#CC7FC6 #CCAB7F #7FCC85 #7FA0CC
square
#CC7FC6 #CCAB7F #7FCC85 #7FA0CC
split-complementary
#CC7FC6 #A0CC7F #7FCCAB
monochromatic
#953B8E #BB53B3 #CC7FC6 #DDABD9 #EFD7ED

Accessibility & contrast

On white

2.83
#CC7FC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CC7FC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FC6
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FC6#FFFFFF#000000##000000
##CC7FC61.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc7fc6;
/* rgb */ color: rgb(204, 127, 198);
/* oklch */ color: oklch(70.1% 0.132 329.7);
Tailwind
colors: {
  custom: {
    50: '#dda5d7',
    500: '#cc7fc6',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fc6;
$custom-light: #dda5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fc6",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 198
  },
  "hsl": {
    "h": 304.675,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70095,
    "c": 0.13204,
    "h": 329.7
  },
  "luminance": 0.32093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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