#CC7FC2#CC7FC2

#CC7FC2 is a light, vivid purple. Relative luminance 0.319; OKLCH L 69.9% C 0.128 H 331.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CC7FC2
RGBrgb(204, 127, 194)
HSLhsl(308, 43%, 65%)
HSVhsv(308, 38%, 80%)
CMYKcmyk(0%, 37.7%, 4.9%, 20%)
CIE-LABlab(63.27, 39.84, -22.57)
CIE-LCHlch(63.27, 45.79, 330.47°)
OKLaboklab(69.93% 0.113 -0.061)
OKLCHoklch(69.93% 0.128 331.6)
XYZxyz(42.2283, 31.9132, 54.9640)
Luminance0.3191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FC2 #7FCC89
analogous
#AF7FCC #CC7FC2 #CC7F9C
triadic
#CC7FC2 #C2CC7F #7FC2CC
tetradic
#CC7FC2 #CCAF7F #7FCC89 #7F9CCC
square
#CC7FC2 #CCAF7F #7FCC89 #7F9CCC
split-complementary
#CC7FC2 #9CCC7F #7FCCAF
monochromatic
#953B8A #BB53AD #CC7FC2 #DDABD7 #EFD7EC

Accessibility & contrast

On white

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

On black

7.38
#CC7FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FC2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FC2#FFFFFF#000000##000000
##CC7FC21.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D92C4
Deuteranopia (green-blind)
#919DC0
Tritanopia (blue-blind)
#D28498
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7fc2;
/* rgb */ color: rgb(204, 127, 194);
/* oklch */ color: oklch(69.9% 0.128 331.6);
Tailwind
colors: {
  custom: {
    50: '#dda5d4',
    500: '#cc7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fc2;
$custom-light: #dda5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fc2",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 307.792,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69932,
    "c": 0.12837,
    "h": 331.6
  },
  "luminance": 0.31911
}

Semantic roles & 50–950 ramp

primary
#CC7FC2
secondary
#C6E1CA
accent
#B6412F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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