#CC6CFC#CC6CFC

#CC6CFC is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.0% C 0.217 H 312.9°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CC6CFC
RGBrgb(204, 108, 252)
HSLhsl(280, 96%, 71%)
HSVhsv(280, 57%, 99%)
CMYKcmyk(19%, 57.1%, 0%, 1.2%)
CIE-LABlab(62.16, 60.80, -56.66)
CIE-LCHlch(62.16, 83.11, 317.02°)
OKLaboklab(69.97% 0.1477 -0.1589)
OKLCHoklch(69.97% 0.217 312.9)
XYZxyz(47.8321, 30.5920, 95.4617)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CFC #9CFC6C
analogous
#846CFC #CC6CFC #FC6CE4
triadic
#CC6CFC #FCCC6C #6CFCCC
tetradic
#CC6CFC #FC846C #9CFC6C #6CE4FC
square
#CC6CFC #FC846C #9CFC6C #6CE4FC
split-complementary
#CC6CFC #E4FC6C #6CFC84
monochromatic
#9D05E9 #B730FB #CC6CFC #E1A8FD #F5E1FE

Accessibility & contrast

On white

2.95
#CC6CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CC6CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6CFC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6CFC#FFFFFF#000000##000000
##CC6CFC1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#6598F8
Tritanopia (blue-blind)
#C785AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6cfc;
/* rgb */ color: rgb(204, 108, 252);
/* oklch */ color: oklch(70.0% 0.217 312.9);
Tailwind
colors: {
  custom: {
    50: '#df9afe',
    500: '#cc6cfc',
    950: '#000000',
  },
}
SCSS
$custom: #cc6cfc;
$custom-light: #df9afe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6cfc",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 252
  },
  "hsl": {
    "h": 280,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69967,
    "c": 0.21694,
    "h": 312.9
  },
  "luminance": 0.30591
}

Semantic roles & 50–950 ramp

primary
#CC6CFC
secondary
#DBF5CE
accent
#E6004C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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