#CC7EE6#CC7EE6

#CC7EE6 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.166 H 317.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CC7EE6
RGBrgb(204, 126, 230)
HSLhsl(285, 68%, 70%)
HSVhsv(285, 45%, 90%)
CMYKcmyk(11.3%, 45.2%, 0%, 9.8%)
CIE-LABlab(64.54, 47.22, -40.74)
CIE-LCHlch(64.54, 62.36, 319.22°)
OKLaboklab(71.37% 0.122 -0.1127)
OKLCHoklch(71.37% 0.166 317.3)
XYZxyz(46.6436, 33.4737, 78.8516)
Luminance0.3347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EE6 #98E67E
analogous
#987EE6 #CC7EE6 #E67ECC
triadic
#CC7EE6 #E6CC7E #7EE6CC
tetradic
#CC7EE6 #E6987E #98E67E #7ECCE6
square
#CC7EE6 #E6987E #98E67E #7ECCE6
split-complementary
#CC7EE6 #CCE67E #7EE698
monochromatic
#9C26C4 #B84BDC #CC7EE6 #E0B1F0 #F5E5FA

Accessibility & contrast

On white

2.73
#CC7EE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CC7EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EE6
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EE6#FFFFFF#000000##000000
##CC7EE61.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97EA
Deuteranopia (green-blind)
#819FE3
Tritanopia (blue-blind)
#CC8CA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7ee6;
/* rgb */ color: rgb(204, 126, 230);
/* oklch */ color: oklch(71.4% 0.166 317.3);
Tailwind
colors: {
  custom: {
    50: '#dda5ee',
    500: '#cc7ee6',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ee6;
$custom-light: #dda5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ee6",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 285,
    "s": 67.532,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71372,
    "c": 0.16607,
    "h": 317.3
  },
  "luminance": 0.33472
}

Semantic roles & 50–950 ramp

primary
#CC7EE6
secondary
#D9EFD1
accent
#CF1644
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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