#CC6CF6#CC6CF6

#CC6CF6 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.6% C 0.211 H 314.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CC6CF6
RGBrgb(204, 108, 246)
HSLhsl(282, 88%, 69%)
HSVhsv(282, 56%, 96%)
CMYKcmyk(17.1%, 56.1%, 0%, 3.5%)
CIE-LABlab(61.84, 59.57, -53.86)
CIE-LCHlch(61.84, 80.31, 317.88°)
OKLaboklab(69.63% 0.1475 -0.1507)
OKLCHoklch(69.63% 0.211 314.4)
XYZxyz(46.8962, 30.2177, 90.5331)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CF6 #96F66C
analogous
#876CF6 #CC6CF6 #F66CDB
triadic
#CC6CF6 #F6CC6C #6CF6CC
tetradic
#CC6CF6 #F6876C #96F66C #6CDBF6
square
#CC6CF6 #F6876C #96F66C #6CDBF6
split-complementary
#CC6CF6 #DBF66C #6CF687
monochromatic
#9C0DDA #B832F2 #CC6CF6 #E0A6FA #F4DFFD

Accessibility & contrast

On white

2.98
#CC6CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CC6CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6CF6
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6CF6#FFFFFF#000000##000000
##CC6CF61.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FA
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#C983A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6cf6;
/* rgb */ color: rgb(204, 108, 246);
/* oklch */ color: oklch(69.6% 0.211 314.4);
Tailwind
colors: {
  custom: {
    50: '#de9afa',
    500: '#cc6cf6',
    950: '#000000',
  },
}
SCSS
$custom: #cc6cf6;
$custom-light: #de9afa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6cf6",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 246
  },
  "hsl": {
    "h": 281.739,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6963,
    "c": 0.21086,
    "h": 314.4
  },
  "luminance": 0.30216
}

Semantic roles & 50–950 ramp

primary
#CC6CF6
secondary
#D7F3CB
accent
#E50046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CC6CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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