#CC7EC6#CC7EC6

#CC7EC6 is a light, vivid purple. Relative luminance 0.318; OKLCH L 69.9% C 0.134 H 329.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CC7EC6
RGBrgb(204, 126, 198)
HSLhsl(305, 43%, 65%)
HSVhsv(305, 38%, 80%)
CMYKcmyk(0%, 38.2%, 2.9%, 20%)
CIE-LABlab(63.21, 41.09, -24.92)
CIE-LCHlch(63.21, 48.06, 328.76°)
OKLaboklab(69.94% 0.1155 -0.0676)
OKLCHoklch(69.94% 0.134 329.7)
XYZxyz(42.5551, 31.8383, 57.3190)
Luminance0.3184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EC6 #7ECC84
analogous
#AB7ECC #CC7EC6 #CC7E9F
triadic
#CC7EC6 #C6CC7E #7EC6CC
tetradic
#CC7EC6 #CCAB7E #7ECC84 #7E9FCC
square
#CC7EC6 #CCAB7E #7ECC84 #7E9FCC
split-complementary
#CC7EC6 #9FCC7E #7ECCAB
monochromatic
#953B8E #BB52B3 #CC7EC6 #DDAAD9 #EFD6ED

Accessibility & contrast

On white

2.85
#CC7EC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CC7EC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EC6
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EC6#FFFFFF#000000##000000
##CC7EC61.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C9
Deuteranopia (green-blind)
#8F9DC4
Tritanopia (blue-blind)
#D28499
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7ec6;
/* rgb */ color: rgb(204, 126, 198);
/* oklch */ color: oklch(69.9% 0.134 329.7);
Tailwind
colors: {
  custom: {
    50: '#dda5d7',
    500: '#cc7ec6',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ec6;
$custom-light: #dda5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ec6",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 304.615,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69935,
    "c": 0.1338,
    "h": 329.7
  },
  "luminance": 0.31836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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