#CC6FD9#CC6FD9

#CC6FD9 is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.5% C 0.177 H 322.6°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#CC6FD9
RGBrgb(204, 111, 217)
HSLhsl(293, 58%, 64%)
HSVhsv(293, 49%, 85%)
CMYKcmyk(6%, 48.8%, 0%, 14.9%)
CIE-LABlab(60.97, 52.38, -39.08)
CIE-LCHlch(60.97, 65.35, 323.28°)
OKLaboklab(68.53% 0.1408 -0.1078)
OKLCHoklch(68.53% 0.177 322.6)
XYZxyz(43.1094, 29.2179, 69.0010)
Luminance0.2922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FD9 #7CD96F
analogous
#976FD9 #CC6FD9 #D96FB1
triadic
#CC6FD9 #D9CC6F #6FD9CC
tetradic
#CC6FD9 #D9976F #7CD96F #6FB1D9
square
#CC6FD9 #D9976F #7CD96F #6FB1D9
split-complementary
#CC6FD9 #B1D96F #6FD997
monochromatic
#942BA3 #BB3FCC #CC6FD9 #DD9FE6 #EED0F3

Accessibility & contrast

On white

3.07
#CC6FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#CC6FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6FD9
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FD9#FFFFFF#000000##000000
##CC6FD91.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#608CDD
Deuteranopia (green-blind)
#7C97D6
Tritanopia (blue-blind)
#CF7C9A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc6fd9;
/* rgb */ color: rgb(204, 111, 217);
/* oklch */ color: oklch(68.5% 0.177 322.6);
Tailwind
colors: {
  custom: {
    50: '#de9be5',
    500: '#cc6fd9',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fd9;
$custom-light: #de9be5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fd9",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 217
  },
  "hsl": {
    "h": 292.642,
    "s": 58.242,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68526,
    "c": 0.17738,
    "h": 322.6
  },
  "luminance": 0.29216
}

Semantic roles & 50–950 ramp

primary
#CC6FD9
secondary
#C4E4C0
accent
#C62034
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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