#CC7FC4#CC7FC4

#CC7FC4 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.0% C 0.130 H 330.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CC7FC4
RGBrgb(204, 127, 196)
HSLhsl(306, 43%, 65%)
HSVhsv(306, 38%, 80%)
CMYKcmyk(0%, 37.7%, 3.9%, 20%)
CIE-LABlab(63.35, 40.20, -23.59)
CIE-LCHlch(63.35, 46.61, 329.60°)
OKLaboklab(70.01% 0.1135 -0.0638)
OKLCHoklch(70.01% 0.13 330.6)
XYZxyz(42.4545, 32.0036, 56.1549)
Luminance0.3200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FC4 #7FCC87
analogous
#AE7FCC #CC7FC4 #CC7F9D
triadic
#CC7FC4 #C4CC7F #7FC4CC
tetradic
#CC7FC4 #CCAE7F #7FCC87 #7F9DCC
square
#CC7FC4 #CCAE7F #7FCC87 #7F9DCC
split-complementary
#CC7FC4 #9DCC7F #7FCCAE
monochromatic
#953B8C #BB53B0 #CC7FC4 #DDABD8 #EFD7EC

Accessibility & contrast

On white

2.84
#CC7FC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CC7FC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FC4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FC4#FFFFFF#000000##000000
##CC7FC41.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C93C7
Deuteranopia (green-blind)
#909DC2
Tritanopia (blue-blind)
#D28499
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7fc4;
/* rgb */ color: rgb(204, 127, 196);
/* oklch */ color: oklch(70.0% 0.130 330.6);
Tailwind
colors: {
  custom: {
    50: '#dda5d6',
    500: '#cc7fc4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fc4;
$custom-light: #dda5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fc4",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 306.234,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70013,
    "c": 0.13019,
    "h": 330.6
  },
  "luminance": 0.32002
}

Semantic roles & 50–950 ramp

primary
#CC7FC4
secondary
#C6E1C9
accent
#B63D2F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC7FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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