#CC6FFE#CC6FFE

#CC6FFE is a light, highly saturated violet. Relative luminance 0.314; OKLCH L 70.5% C 0.215 H 312.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CC6FFE
RGBrgb(204, 111, 254)
HSLhsl(279, 99%, 72%)
HSVhsv(279, 56%, 100%)
CMYKcmyk(19.7%, 56.3%, 0%, 0.4%)
CIE-LABlab(62.81, 59.76, -56.72)
CIE-LCHlch(62.81, 82.39, 316.50°)
OKLaboklab(70.48% 0.1441 -0.1591)
OKLCHoklch(70.48% 0.215 312.2)
XYZxyz(48.4725, 31.3632, 97.2470)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FFE #A1FE6F
analogous
#856FFE #CC6FFE #FE6FE9
triadic
#CC6FFE #FECC6F #6FFECC
tetradic
#CC6FFE #FE856F #A1FE6F #6FE9FE
square
#CC6FFE #FE856F #A1FE6F #6FE9FE
split-complementary
#CC6FFE #E9FE6F #6FFE85
monochromatic
#9D02F1 #B632FE #CC6FFE #E2ACFE #F4E1FF

Accessibility & contrast

On white

2.89
#CC6FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CC6FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FFE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FFE#FFFFFF#000000##000000
##CC6FFE1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#C788AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc6ffe;
/* rgb */ color: rgb(204, 111, 254);
/* oklch */ color: oklch(70.5% 0.215 312.2);
Tailwind
colors: {
  custom: {
    50: '#df9cff',
    500: '#cc6ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ffe;
$custom-light: #df9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ffe",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 279.021,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70478,
    "c": 0.21463,
    "h": 312.2
  },
  "luminance": 0.31362
}

Semantic roles & 50–950 ramp

primary
#CC6FFE
secondary
#DFF7D2
accent
#E60050
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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