#CC6FFC#CC6FFC

#CC6FFC is a light, highly saturated violet. Relative luminance 0.312; OKLCH L 70.4% C 0.213 H 312.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CC6FFC
RGBrgb(204, 111, 252)
HSLhsl(280, 96%, 71%)
HSVhsv(280, 56%, 99%)
CMYKcmyk(19%, 56%, 0%, 1.2%)
CIE-LABlab(62.71, 59.35, -55.79)
CIE-LCHlch(62.71, 81.45, 316.77°)
OKLaboklab(70.37% 0.144 -0.1563)
OKLCHoklch(70.37% 0.213 312.7)
XYZxyz(48.1539, 31.2357, 95.5690)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FFC #9FFC6F
analogous
#856FFC #CC6FFC #FC6FE6
triadic
#CC6FFC #FCCC6F #6FFCCC
tetradic
#CC6FFC #FC856F #9FFC6F #6FE6FC
square
#CC6FFC #FC856F #9FFC6F #6FE6FC
split-complementary
#CC6FFC #E6FC6F #6FFC85
monochromatic
#9D05EC #B733FB #CC6FFC #E1ABFD #F4E1FE

Accessibility & contrast

On white

2.90
#CC6FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CC6FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FFC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FFC#FFFFFF#000000##000000
##CC6FFC1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#679AF8
Tritanopia (blue-blind)
#C788AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc6ffc;
/* rgb */ color: rgb(204, 111, 252);
/* oklch */ color: oklch(70.4% 0.213 312.7);
Tailwind
colors: {
  custom: {
    50: '#df9cfe',
    500: '#cc6ffc',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ffc;
$custom-light: #df9cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ffc",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 252
  },
  "hsl": {
    "h": 279.574,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70366,
    "c": 0.21258,
    "h": 312.7
  },
  "luminance": 0.31235
}

Semantic roles & 50–950 ramp

primary
#CC6FFC
secondary
#DDF6D1
accent
#E6004E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E18
muted
#847E86

Preview Lab

Preview with #CC6FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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