#CC7EC0#CC7EC0

#CC7EC0 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.7% C 0.128 H 332.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CC7EC0
RGBrgb(204, 126, 192)
HSLhsl(309, 43%, 65%)
HSVhsv(309, 38%, 80%)
CMYKcmyk(0%, 38.2%, 5.9%, 20%)
CIE-LABlab(62.98, 40.02, -21.88)
CIE-LCHlch(62.98, 45.61, 331.33°)
OKLaboklab(69.69% 0.1139 -0.0591)
OKLCHoklch(69.69% 0.128 332.6)
XYZxyz(41.8767, 31.5669, 53.7462)
Luminance0.3156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EC0 #7ECC8A
analogous
#B17ECC #CC7EC0 #CC7E99
triadic
#CC7EC0 #C0CC7E #7EC0CC
tetradic
#CC7EC0 #CCB17E #7ECC8A #7E99CC
square
#CC7EC0 #CCB17E #7ECC8A #7E99CC
split-complementary
#CC7EC0 #99CC7E #7ECCB1
monochromatic
#953B87 #BB52AB #CC7EC0 #DDAAD5 #EFD6EB

Accessibility & contrast

On white

2.87
#CC7EC0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CC7EC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EC0
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EC0#FFFFFF#000000##000000
##CC7EC01.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D92C2
Deuteranopia (green-blind)
#919CBE
Tritanopia (blue-blind)
#D28297
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc7ec0;
/* rgb */ color: rgb(204, 126, 192);
/* oklch */ color: oklch(69.7% 0.128 332.6);
Tailwind
colors: {
  custom: {
    50: '#dda5d3',
    500: '#cc7ec0',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ec0;
$custom-light: #dda5d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ec0",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 309.231,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6969,
    "c": 0.12834,
    "h": 332.6
  },
  "luminance": 0.31565
}

Semantic roles & 50–950 ramp

primary
#CC7EC0
secondary
#C6E0CA
accent
#B6442F
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CC7EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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