#CC6FFD#CC6FFD

#CC6FFD is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.4% C 0.214 H 312.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CC6FFD
RGBrgb(204, 111, 253)
HSLhsl(279, 97%, 71%)
HSVhsv(279, 56%, 99%)
CMYKcmyk(19.4%, 56.1%, 0%, 0.8%)
CIE-LABlab(62.76, 59.55, -56.26)
CIE-LCHlch(62.76, 81.92, 316.63°)
OKLaboklab(70.42% 0.1441 -0.1577)
OKLCHoklch(70.42% 0.214 312.4)
XYZxyz(48.3128, 31.2993, 96.4058)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FFD #A0FD6F
analogous
#856FFD #CC6FFD #FD6FE7
triadic
#CC6FFD #FDCC6F #6FFDCC
tetradic
#CC6FFD #FD856F #A0FD6F #6FE7FD
square
#CC6FFD #FD856F #A0FD6F #6FE7FD
split-complementary
#CC6FFD #E7FD6F #6FFD85
monochromatic
#9D03EE #B733FC #CC6FFD #E1ABFE #F4E1FF

Accessibility & contrast

On white

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

On black

7.26
#CC6FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FFD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FFD#FFFFFF#000000##000000
##CC6FFD1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#C788AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc6ffd;
/* rgb */ color: rgb(204, 111, 253);
/* oklch */ color: oklch(70.4% 0.214 312.4);
Tailwind
colors: {
  custom: {
    50: '#df9cff',
    500: '#cc6ffd',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ffd;
$custom-light: #df9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ffd",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 253
  },
  "hsl": {
    "h": 279.296,
    "s": 97.26,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70422,
    "c": 0.21361,
    "h": 312.4
  },
  "luminance": 0.31298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC6FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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