#CC7EC8#CC7EC8

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

Color values

HEX#CC7EC8
RGBrgb(204, 126, 200)
HSLhsl(303, 43%, 65%)
HSVhsv(303, 38%, 80%)
CMYKcmyk(0%, 38.2%, 2%, 20%)
CIE-LABlab(63.29, 41.45, -25.93)
CIE-LCHlch(63.29, 48.89, 327.97°)
OKLaboklab(70.02% 0.116 -0.0704)
OKLCHoklch(70.02% 0.136 328.7)
XYZxyz(42.7873, 31.9312, 58.5419)
Luminance0.3193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EC8 #7ECC82
analogous
#A97ECC #CC7EC8 #CC7EA1
triadic
#CC7EC8 #C8CC7E #7EC8CC
tetradic
#CC7EC8 #CCA97E #7ECC82 #7EA1CC
square
#CC7EC8 #CCA97E #7ECC82 #7EA1CC
split-complementary
#CC7EC8 #A1CC7E #7ECCA9
monochromatic
#953B90 #BB52B5 #CC7EC8 #DDAADB #EFD6ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7EC8#FFFFFF#000000##000000
##CC7EC81.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)
#7A93CB
Deuteranopia (green-blind)
#8E9DC5
Tritanopia (blue-blind)
#D1849A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7ec8;
/* rgb */ color: rgb(204, 126, 200);
/* oklch */ color: oklch(70.0% 0.136 328.7);
Tailwind
colors: {
  custom: {
    50: '#dda5d9',
    500: '#cc7ec8',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ec8;
$custom-light: #dda5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ec8",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 303.077,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70018,
    "c": 0.13568,
    "h": 328.7
  },
  "luminance": 0.31929
}

Semantic roles & 50–950 ramp

primary
#CC7EC8
secondary
#C6E0C7
accent
#B6362F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC7EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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