#CC7FCA#CC7FCA

#CC7FCA is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.3% C 0.136 H 327.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CC7FCA
RGBrgb(204, 127, 202)
HSLhsl(302, 43%, 65%)
HSVhsv(302, 38%, 80%)
CMYKcmyk(0%, 37.7%, 1%, 20%)
CIE-LABlab(63.58, 41.29, -26.61)
CIE-LCHlch(63.58, 49.12, 327.20°)
OKLaboklab(70.26% 0.115 -0.0724)
OKLCHoklch(70.26% 0.136 327.8)
XYZxyz(43.1511, 32.2823, 59.8238)
Luminance0.3228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FCA #7FCC81
analogous
#A77FCC #CC7FCA #CC7FA4
triadic
#CC7FCA #CACC7F #7FCACC
tetradic
#CC7FCA #CCA77F #7FCC81 #7FA4CC
square
#CC7FCA #CCA77F #7FCC81 #7FA4CC
split-complementary
#CC7FCA #A4CC7F #7FCCA7
monochromatic
#953B93 #BB53B8 #CC7FCA #DDABDC #EFD7EE

Accessibility & contrast

On white

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

On black

7.46
#CC7FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FCA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FCA#FFFFFF#000000##000000
##CC7FCA1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CD
Deuteranopia (green-blind)
#8E9EC7
Tritanopia (blue-blind)
#D1869B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7fca;
/* rgb */ color: rgb(204, 127, 202);
/* oklch */ color: oklch(70.3% 0.136 327.8);
Tailwind
colors: {
  custom: {
    50: '#dda6da',
    500: '#cc7fca',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fca;
$custom-light: #dda6da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fca",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 301.558,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70262,
    "c": 0.13583,
    "h": 327.8
  },
  "luminance": 0.3228
}

Semantic roles & 50–950 ramp

primary
#CC7FCA
secondary
#C6E1C7
accent
#B6332F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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