#CC7FCE#CC7FCE

#CC7FCE is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.4% C 0.140 H 326.0°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CC7FCE
RGBrgb(204, 127, 206)
HSLhsl(298, 45%, 65%)
HSVhsv(298, 38%, 81%)
CMYKcmyk(1%, 38.3%, 0%, 19.2%)
CIE-LABlab(63.73, 42.03, -28.61)
CIE-LCHlch(63.73, 50.84, 325.75°)
OKLaboklab(70.43% 0.1159 -0.078)
OKLCHoklch(70.43% 0.14 326)
XYZxyz(43.6308, 32.4742, 62.3504)
Luminance0.3247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FCE #81CE7F
analogous
#A47FCE #CC7FCE #CE7FA8
triadic
#CC7FCE #CECC7F #7FCECC
tetradic
#CC7FCE #CEA47F #81CE7F #7FA8CE
square
#CC7FCE #CEA47F #81CE7F #7FA8CE
split-complementary
#CC7FCE #A8CE7F #7FCEA4
monochromatic
#963A98 #BA53BD #CC7FCE #DEABDF #EFD8F0

Accessibility & contrast

On white

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

On black

7.49
#CC7FCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FCE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FCE#FFFFFF#000000##000000
##CC7FCE1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc7fce;
/* rgb */ color: rgb(204, 127, 206);
/* oklch */ color: oklch(70.4% 0.140 326.0);
Tailwind
colors: {
  custom: {
    50: '#dda6dd',
    500: '#cc7fce',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fce;
$custom-light: #dda6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fce",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 298.481,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70432,
    "c": 0.13971,
    "h": 326
  },
  "luminance": 0.32472
}

Semantic roles & 50–950 ramp

primary
#CC7FCE
secondary
#C8E2C7
accent
#B82E31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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