#CC7EC4#CC7EC4

#CC7EC4 is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.9% C 0.132 H 330.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CC7EC4
RGBrgb(204, 126, 196)
HSLhsl(306, 43%, 65%)
HSVhsv(306, 38%, 80%)
CMYKcmyk(0%, 38.2%, 3.9%, 20%)
CIE-LABlab(63.13, 40.73, -23.91)
CIE-LCHlch(63.13, 47.23, 329.58°)
OKLaboklab(69.85% 0.115 -0.0647)
OKLCHoklch(69.85% 0.132 330.6)
XYZxyz(42.3260, 31.7466, 56.1121)
Luminance0.3175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EC4 #7ECC86
analogous
#AD7ECC #CC7EC4 #CC7E9D
triadic
#CC7EC4 #C4CC7E #7EC4CC
tetradic
#CC7EC4 #CCAD7E #7ECC86 #7E9DCC
square
#CC7EC4 #CCAD7E #7ECC86 #7E9DCC
split-complementary
#CC7EC4 #9DCC7E #7ECCAD
monochromatic
#953B8C #BB52B0 #CC7EC4 #DDAAD8 #EFD6EC

Accessibility & contrast

On white

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

On black

7.35
#CC7EC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EC4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EC4#FFFFFF#000000##000000
##CC7EC41.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C7
Deuteranopia (green-blind)
#8F9DC2
Tritanopia (blue-blind)
#D28398
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7ec4;
/* rgb */ color: rgb(204, 126, 196);
/* oklch */ color: oklch(69.9% 0.132 330.6);
Tailwind
colors: {
  custom: {
    50: '#dda5d6',
    500: '#cc7ec4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ec4;
$custom-light: #dda5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ec4",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 306.154,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69852,
    "c": 0.13195,
    "h": 330.6
  },
  "luminance": 0.31745
}

Semantic roles & 50–950 ramp

primary
#CC7EC4
secondary
#C6E0C8
accent
#B63D2F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC7EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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