#CC6CFD#CC6CFD

#CC6CFD is a light, highly saturated violet. Relative luminance 0.307; OKLCH L 70.0% C 0.218 H 312.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CC6CFD
RGBrgb(204, 108, 253)
HSLhsl(280, 97%, 71%)
HSVhsv(280, 57%, 99%)
CMYKcmyk(19.4%, 57.3%, 0%, 0.8%)
CIE-LABlab(62.22, 61.01, -57.12)
CIE-LCHlch(62.22, 83.58, 316.88°)
OKLaboklab(70.02% 0.1478 -0.1602)
OKLCHoklch(70.02% 0.218 312.7)
XYZxyz(47.9909, 30.6556, 96.2985)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CFD #9DFD6C
analogous
#836CFD #CC6CFD #FD6CE5
triadic
#CC6CFD #FDCC6C #6CFDCC
tetradic
#CC6CFD #FD836C #9DFD6C #6CE5FD
square
#CC6CFD #FD836C #9DFD6C #6CE5FD
split-complementary
#CC6CFD #E5FD6C #6CFD83
monochromatic
#9D03EB #B730FC #CC6CFD #E1A8FE #F5E1FF

Accessibility & contrast

On white

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

On black

7.13
#CC6CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6CFD
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6CFD#FFFFFF#000000##000000
##CC6CFD1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#6499F9
Tritanopia (blue-blind)
#C786AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6cfd;
/* rgb */ color: rgb(204, 108, 253);
/* oklch */ color: oklch(70.0% 0.218 312.7);
Tailwind
colors: {
  custom: {
    50: '#df9aff',
    500: '#cc6cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cc6cfd;
$custom-light: #df9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6cfd",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 253
  },
  "hsl": {
    "h": 279.724,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70024,
    "c": 0.21795,
    "h": 312.7
  },
  "luminance": 0.30654
}

Semantic roles & 50–950 ramp

primary
#CC6CFD
secondary
#DCF6CF
accent
#E6004E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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