#CC6CDE#CC6CDE

#CC6CDE is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.4% C 0.187 H 321.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#CC6CDE
RGBrgb(204, 108, 222)
HSLhsl(291, 63%, 65%)
HSVhsv(291, 51%, 87%)
CMYKcmyk(8.1%, 51.4%, 0%, 12.9%)
CIE-LABlab(60.64, 54.83, -42.41)
CIE-LCHlch(60.64, 69.31, 322.28°)
OKLaboklab(68.36% 0.1456 -0.1174)
OKLCHoklch(68.36% 0.187 321.1)
XYZxyz(43.4477, 28.8383, 72.3708)
Luminance0.2884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CDE #7EDE6C
analogous
#936CDE #CC6CDE #DE6CB7
triadic
#CC6CDE #DECC6C #6CDECC
tetradic
#CC6CDE #DE936C #7EDE6C #6CB7DE
square
#CC6CDE #DE936C #7EDE6C #6CB7DE
split-complementary
#CC6CDE #B7DE6C #6CDE93
monochromatic
#9526AA #BB3AD3 #CC6CDE #DD9EE9 #EFD0F4

Accessibility & contrast

On white

3.10
#CC6CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#CC6CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6CDE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6CDE#FFFFFF#000000##000000
##CC6CDE1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#598BE2
Deuteranopia (green-blind)
#7796DB
Tritanopia (blue-blind)
#CE7C9B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc6cde;
/* rgb */ color: rgb(204, 108, 222);
/* oklch */ color: oklch(68.4% 0.187 321.1);
Tailwind
colors: {
  custom: {
    50: '#de9ae8',
    500: '#cc6cde',
    950: '#000000',
  },
}
SCSS
$custom: #cc6cde;
$custom-light: #de9ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6cde",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 290.526,
    "s": 63.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68355,
    "c": 0.18702,
    "h": 321.1
  },
  "luminance": 0.28836
}

Semantic roles & 50–950 ramp

primary
#CC6CDE
secondary
#C6E6BF
accent
#CB1A36
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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