#CC7FC3#CC7FC3

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

Color values

HEX#CC7FC3
RGBrgb(204, 127, 195)
HSLhsl(307, 43%, 65%)
HSVhsv(307, 38%, 80%)
CMYKcmyk(0%, 37.7%, 4.4%, 20%)
CIE-LABlab(63.31, 40.02, -23.08)
CIE-LCHlch(63.31, 46.20, 330.03°)
OKLaboklab(69.97% 0.1132 -0.0624)
OKLCHoklch(69.97% 0.129 331.1)
XYZxyz(42.3410, 31.9583, 55.5575)
Luminance0.3196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FC3 #7FCC88
analogous
#AF7FCC #CC7FC3 #CC7F9D
triadic
#CC7FC3 #C3CC7F #7FC3CC
tetradic
#CC7FC3 #CCAF7F #7FCC88 #7F9DCC
square
#CC7FC3 #CCAF7F #7FCC88 #7F9DCC
split-complementary
#CC7FC3 #9DCC7F #7FCCAF
monochromatic
#953B8B #BB53AE #CC7FC3 #DDABD8 #EFD7EC

Accessibility & contrast

On white

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

On black

7.39
#CC7FC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FC3
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FC3#FFFFFF#000000##000000
##CC7FC31.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D93C6
Deuteranopia (green-blind)
#909DC1
Tritanopia (blue-blind)
#D28498
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7fc3;
/* rgb */ color: rgb(204, 127, 195);
/* oklch */ color: oklch(70.0% 0.129 331.1);
Tailwind
colors: {
  custom: {
    50: '#dda5d5',
    500: '#cc7fc3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fc3;
$custom-light: #dda5d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fc3",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 195
  },
  "hsl": {
    "h": 307.013,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69972,
    "c": 0.12928,
    "h": 331.1
  },
  "luminance": 0.31956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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