#CC6FD5#CC6FD5

#CC6FD5 is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.3% C 0.174 H 323.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#CC6FD5
RGBrgb(204, 111, 213)
HSLhsl(295, 55%, 64%)
HSVhsv(295, 48%, 84%)
CMYKcmyk(4.2%, 47.9%, 0%, 16.5%)
CIE-LABlab(60.79, 51.63, -37.11)
CIE-LCHlch(60.79, 63.58, 324.29°)
OKLaboklab(68.33% 0.1403 -0.1022)
OKLCHoklch(68.33% 0.174 323.9)
XYZxyz(42.5954, 29.0123, 66.2941)
Luminance0.2901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FD5 #78D56F
analogous
#996FD5 #CC6FD5 #D56FAB
triadic
#CC6FD5 #D5CC6F #6FD5CC
tetradic
#CC6FD5 #D5996F #78D56F #6FABD5
square
#CC6FD5 #D5996F #78D56F #6FABD5
split-complementary
#CC6FD5 #ABD56F #6FD599
monochromatic
#922E9C #BB40C7 #CC6FD5 #DD9EE3 #EECEF1

Accessibility & contrast

On white

3.09
#CC6FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#CC6FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6FD5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FD5#FFFFFF#000000##000000
##CC6FD51.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#628BD8
Deuteranopia (green-blind)
#7E97D2
Tritanopia (blue-blind)
#CF7B98
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc6fd5;
/* rgb */ color: rgb(204, 111, 213);
/* oklch */ color: oklch(68.3% 0.174 323.9);
Tailwind
colors: {
  custom: {
    50: '#dd9be2',
    500: '#cc6fd5',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fd5;
$custom-light: #dd9be2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fd5",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 213
  },
  "hsl": {
    "h": 294.706,
    "s": 54.839,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68333,
    "c": 0.17352,
    "h": 323.9
  },
  "luminance": 0.2901
}

Semantic roles & 50–950 ramp

primary
#CC6FD5
secondary
#C1E2BE
accent
#C22331
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC6FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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