#CC7EC3#CC7EC3

#CC7EC3 is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.8% C 0.131 H 331.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CC7EC3
RGBrgb(204, 126, 195)
HSLhsl(307, 43%, 65%)
HSVhsv(307, 38%, 80%)
CMYKcmyk(0%, 38.2%, 4.4%, 20%)
CIE-LABlab(63.10, 40.55, -23.41)
CIE-LCHlch(63.10, 46.82, 330.01°)
OKLaboklab(69.81% 0.1147 -0.0633)
OKLCHoklch(69.81% 0.131 331.1)
XYZxyz(42.2125, 31.7012, 55.5146)
Luminance0.3170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EC3 #7ECC87
analogous
#AE7ECC #CC7EC3 #CC7E9C
triadic
#CC7EC3 #C3CC7E #7EC3CC
tetradic
#CC7EC3 #CCAE7E #7ECC87 #7E9CCC
square
#CC7EC3 #CCAE7E #7ECC87 #7E9CCC
split-complementary
#CC7EC3 #9CCC7E #7ECCAE
monochromatic
#953B8A #BB52AF #CC7EC3 #DDAAD7 #EFD6EC

Accessibility & contrast

On white

2.86
#CC7EC3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CC7EC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EC3
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EC3#FFFFFF#000000##000000
##CC7EC31.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc7ec3;
/* rgb */ color: rgb(204, 126, 195);
/* oklch */ color: oklch(69.8% 0.131 331.1);
Tailwind
colors: {
  custom: {
    50: '#dda5d5',
    500: '#cc7ec3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ec3;
$custom-light: #dda5d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ec3",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 195
  },
  "hsl": {
    "h": 306.923,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69812,
    "c": 0.13104,
    "h": 331.1
  },
  "luminance": 0.31699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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