#CC7EE3#CC7EE3

#CC7EE3 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.163 H 318.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CC7EE3
RGBrgb(204, 126, 227)
HSLhsl(286, 64%, 69%)
HSVhsv(286, 44%, 89%)
CMYKcmyk(10.1%, 44.5%, 0%, 11%)
CIE-LABlab(64.41, 46.62, -39.28)
CIE-LCHlch(64.41, 60.96, 319.88°)
OKLaboklab(71.23% 0.1215 -0.1085)
OKLCHoklch(71.23% 0.163 318.2)
XYZxyz(46.2259, 33.3066, 76.6519)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EE3 #95E37E
analogous
#9A7EE3 #CC7EE3 #E37EC7
triadic
#CC7EE3 #E3CC7E #7EE3CC
tetradic
#CC7EE3 #E39A7E #95E37E #7EC7E3
square
#CC7EE3 #E39A7E #95E37E #7EC7E3
split-complementary
#CC7EE3 #C7E37E #7EE39A
monochromatic
#9C29BD #B84CD8 #CC7EE3 #E0B0EE #F4E3F9

Accessibility & contrast

On white

2.74
#CC7EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#CC7EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EE3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EE3#FFFFFF#000000##000000
##CC7EE31.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E7
Deuteranopia (green-blind)
#839FE0
Tritanopia (blue-blind)
#CC8CA6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7ee3;
/* rgb */ color: rgb(204, 126, 227);
/* oklch */ color: oklch(71.2% 0.163 318.2);
Tailwind
colors: {
  custom: {
    50: '#dda5ec',
    500: '#cc7ee3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ee3;
$custom-light: #dda5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ee3",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 286.337,
    "s": 64.331,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71228,
    "c": 0.16289,
    "h": 318.2
  },
  "luminance": 0.33305
}

Semantic roles & 50–950 ramp

primary
#CC7EE3
secondary
#D6EDD0
accent
#CC1942
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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