#CC6AF7#CC6AF7

#CC6AF7 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.4% C 0.215 H 314.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CC6AF7
RGBrgb(204, 106, 247)
HSLhsl(282, 90%, 69%)
HSVhsv(282, 57%, 97%)
CMYKcmyk(17.4%, 57.1%, 0%, 3.1%)
CIE-LABlab(61.54, 60.74, -54.90)
CIE-LCHlch(61.54, 81.87, 317.89°)
OKLaboklab(69.42% 0.15 -0.1537)
OKLCHoklch(69.42% 0.215 314.3)
XYZxyz(46.8416, 29.8622, 91.2741)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6AF7 #95F76A
analogous
#866AF7 #CC6AF7 #F76ADC
triadic
#CC6AF7 #F7CC6A #6AF7CC
tetradic
#CC6AF7 #F7866A #95F76A #6ADCF7
square
#CC6AF7 #F7866A #95F76A #6ADCF7
split-complementary
#CC6AF7 #DCF76A #6AF786
monochromatic
#9C0CDB #B830F4 #CC6AF7 #E0A4FA #F4DEFD

Accessibility & contrast

On white

3.01
#CC6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CC6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6AF7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6AF7#FFFFFF#000000##000000
##CC6AF71.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#6697F3
Tritanopia (blue-blind)
#C882A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6af7;
/* rgb */ color: rgb(204, 106, 247);
/* oklch */ color: oklch(69.4% 0.215 314.3);
Tailwind
colors: {
  custom: {
    50: '#df99fa',
    500: '#cc6af7',
    950: '#000000',
  },
}
SCSS
$custom: #cc6af7;
$custom-light: #df99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6af7",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 281.702,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69423,
    "c": 0.2148,
    "h": 314.3
  },
  "luminance": 0.29861
}

Semantic roles & 50–950 ramp

primary
#CC6AF7
secondary
#D6F3CA
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CC6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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