#CC6CFE#CC6CFE

#CC6CFE is a light, highly saturated violet. Relative luminance 0.307; OKLCH L 70.1% C 0.219 H 312.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CC6CFE
RGBrgb(204, 108, 254)
HSLhsl(279, 99%, 71%)
HSVhsv(279, 57%, 100%)
CMYKcmyk(19.7%, 57.5%, 0%, 0.4%)
CIE-LABlab(62.27, 61.22, -57.59)
CIE-LCHlch(62.27, 84.05, 316.75°)
OKLaboklab(70.08% 0.1478 -0.1616)
OKLCHoklch(70.08% 0.219 312.4)
XYZxyz(48.1506, 30.7195, 97.1397)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CFE #9EFE6C
analogous
#836CFE #CC6CFE #FE6CE7
triadic
#CC6CFE #FECC6C #6CFECC
tetradic
#CC6CFE #FE836C #9EFE6C #6CE7FE
square
#CC6CFE #FE836C #9EFE6C #6CE7FE
split-complementary
#CC6CFE #E7FE6C #6CFE83
monochromatic
#9D02EE #B72FFE #CC6CFE #E1A9FE #F4E1FF

Accessibility & contrast

On white

2.94
#CC6CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CC6CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6CFE
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6CFE#FFFFFF#000000##000000
##CC6CFE1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#6399FA
Tritanopia (blue-blind)
#C786AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6cfe;
/* rgb */ color: rgb(204, 108, 254);
/* oklch */ color: oklch(70.1% 0.219 312.4);
Tailwind
colors: {
  custom: {
    50: '#df9aff',
    500: '#cc6cfe',
    950: '#000000',
  },
}
SCSS
$custom: #cc6cfe;
$custom-light: #df9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6cfe",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 279.452,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70082,
    "c": 0.21897,
    "h": 312.4
  },
  "luminance": 0.30718
}

Semantic roles & 50–950 ramp

primary
#CC6CFE
secondary
#DDF6CF
accent
#E6004F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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