#CC6CF7#CC6CF7

#CC6CF7 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 69.7% C 0.212 H 314.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CC6CF7
RGBrgb(204, 108, 247)
HSLhsl(281, 90%, 70%)
HSVhsv(281, 56%, 97%)
CMYKcmyk(17.4%, 56.3%, 0%, 3.1%)
CIE-LABlab(61.89, 59.78, -54.33)
CIE-LCHlch(61.89, 80.77, 317.73°)
OKLaboklab(69.69% 0.1476 -0.152)
OKLCHoklch(69.69% 0.212 314.1)
XYZxyz(47.0501, 30.2793, 91.3437)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CF7 #97F76C
analogous
#876CF7 #CC6CF7 #F76CDC
triadic
#CC6CF7 #F7CC6C #6CF7CC
tetradic
#CC6CF7 #F7876C #97F76C #6CDCF7
square
#CC6CF7 #F7876C #97F76C #6CDCF7
split-complementary
#CC6CF7 #DCF76C #6CF787
monochromatic
#9C0CDD #B832F4 #CC6CF7 #E0A6FA #F4E0FD

Accessibility & contrast

On white

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

On black

7.06
#CC6CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6CF7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6CF7#FFFFFF#000000##000000
##CC6CF71.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FB
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#C884A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6cf7;
/* rgb */ color: rgb(204, 108, 247);
/* oklch */ color: oklch(69.7% 0.212 314.1);
Tailwind
colors: {
  custom: {
    50: '#de9afa',
    500: '#cc6cf7',
    950: '#000000',
  },
}
SCSS
$custom: #cc6cf7;
$custom-light: #de9afa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6cf7",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 281.439,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69686,
    "c": 0.21188,
    "h": 314.1
  },
  "luminance": 0.30278
}

Semantic roles & 50–950 ramp

primary
#CC6CF7
secondary
#D8F3CC
accent
#E60047
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CC6CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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