#CC6FDF#CC6FDF

#CC6FDF is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.8% C 0.183 H 320.6°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CC6FDF
RGBrgb(204, 111, 223)
HSLhsl(290, 64%, 65%)
HSVhsv(290, 50%, 87%)
CMYKcmyk(8.5%, 50.2%, 0%, 12.5%)
CIE-LABlab(61.25, 53.53, -42.00)
CIE-LCHlch(61.25, 68.04, 321.88°)
OKLaboklab(68.82% 0.1417 -0.1163)
OKLCHoklch(68.82% 0.183 320.6)
XYZxyz(43.9040, 29.5358, 73.1860)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FDF #82DF6F
analogous
#946FDF #CC6FDF #DF6FBA
triadic
#CC6FDF #DFCC6F #6FDFCC
tetradic
#CC6FDF #DF946F #82DF6F #6FBADF
square
#CC6FDF #DF946F #82DF6F #6FBADF
split-complementary
#CC6FDF #BADF6F #6FDF94
monochromatic
#9626AD #BA3DD4 #CC6FDF #DEA1EA #EFD3F5

Accessibility & contrast

On white

3.04
#CC6FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#CC6FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6FDF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FDF#FFFFFF#000000##000000
##CC6FDF1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8DE3
Deuteranopia (green-blind)
#7997DC
Tritanopia (blue-blind)
#CE7E9D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc6fdf;
/* rgb */ color: rgb(204, 111, 223);
/* oklch */ color: oklch(68.8% 0.183 320.6);
Tailwind
colors: {
  custom: {
    50: '#de9be9',
    500: '#cc6fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fdf;
$custom-light: #de9be9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fdf",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 289.821,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68823,
    "c": 0.18326,
    "h": 320.6
  },
  "luminance": 0.29534
}

Semantic roles & 50–950 ramp

primary
#CC6FDF
secondary
#C9E8C2
accent
#CB1A38
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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