#CC6FD7#CC6FD7

#CC6FD7 is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.4% C 0.175 H 323.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#CC6FD7
RGBrgb(204, 111, 215)
HSLhsl(294, 57%, 64%)
HSVhsv(294, 48%, 84%)
CMYKcmyk(5.1%, 48.4%, 0%, 15.7%)
CIE-LABlab(60.88, 52.00, -38.10)
CIE-LCHlch(60.88, 64.46, 323.77°)
OKLaboklab(68.43% 0.1406 -0.105)
OKLCHoklch(68.43% 0.175 323.2)
XYZxyz(42.8508, 29.1145, 67.6393)
Luminance0.2911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FD7 #7AD76F
analogous
#986FD7 #CC6FD7 #D76FAE
triadic
#CC6FD7 #D7CC6F #6FD7CC
tetradic
#CC6FD7 #D7986F #7AD76F #6FAED7
square
#CC6FD7 #D7986F #7AD76F #6FAED7
split-complementary
#CC6FD7 #AED76F #6FD798
monochromatic
#932C9F #BB3FCA #CC6FD7 #DD9FE4 #EECFF2

Accessibility & contrast

On white

3.08
#CC6FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#CC6FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6FD7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FD7#FFFFFF#000000##000000
##CC6FD71.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#618CDB
Deuteranopia (green-blind)
#7D97D4
Tritanopia (blue-blind)
#CF7C99
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc6fd7;
/* rgb */ color: rgb(204, 111, 215);
/* oklch */ color: oklch(68.4% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#de9be3',
    500: '#cc6fd7',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fd7;
$custom-light: #de9be3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fd7",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 215
  },
  "hsl": {
    "h": 293.654,
    "s": 56.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68429,
    "c": 0.17544,
    "h": 323.2
  },
  "luminance": 0.29113
}

Semantic roles & 50–950 ramp

primary
#CC6FD7
secondary
#C3E3BF
accent
#C42133
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC6FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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