#CC6FFF#CC6FFF

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

Color values

HEX#CC6FFF
RGBrgb(204, 111, 255)
HSLhsl(279, 100%, 72%)
HSVhsv(279, 56%, 100%)
CMYKcmyk(20%, 56.5%, 0%, 0%)
CIE-LABlab(62.87, 59.97, -57.18)
CIE-LCHlch(62.87, 82.87, 316.36°)
OKLaboklab(70.54% 0.1442 -0.1604)
OKLCHoklch(70.54% 0.216 311.9)
XYZxyz(48.6331, 31.4274, 98.0925)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FFF #A2FF6F
analogous
#846FFF #CC6FFF #FF6FEA
triadic
#CC6FFF #FFCC6F #6FFFCC
tetradic
#CC6FFF #FF846F #A2FF6F #6FEAFF
square
#CC6FFF #FF846F #A2FF6F #6FEAFF
split-complementary
#CC6FFF #EAFF6F #6FFF84
monochromatic
#9D00F4 #B632FF #CC6FFF #E2ACFF #F4E0FF

Accessibility & contrast

On white

2.88
#CC6FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CC6FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FFF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FFF#FFFFFF#000000##000000
##CC6FFF1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#659AFB
Tritanopia (blue-blind)
#C689AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc6fff;
/* rgb */ color: rgb(204, 111, 255);
/* oklch */ color: oklch(70.5% 0.216 311.9);
Tailwind
colors: {
  custom: {
    50: '#df9cff',
    500: '#cc6fff',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fff;
$custom-light: #df9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fff",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 255
  },
  "hsl": {
    "h": 278.75,
    "s": 100,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70535,
    "c": 0.21566,
    "h": 311.9
  },
  "luminance": 0.31426
}

Semantic roles & 50–950 ramp

primary
#CC6FFF
secondary
#E0F7D3
accent
#E60051
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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