#CC6AF8#CC6AF8

#CC6AF8 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.5% C 0.216 H 314.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CC6AF8
RGBrgb(204, 106, 248)
HSLhsl(281, 91%, 69%)
HSVhsv(281, 57%, 97%)
CMYKcmyk(17.7%, 57.3%, 0%, 2.7%)
CIE-LABlab(61.59, 60.94, -55.36)
CIE-LCHlch(61.59, 82.34, 317.75°)
OKLaboklab(69.48% 0.1501 -0.1551)
OKLCHoklch(69.48% 0.216 314.1)
XYZxyz(46.9963, 29.9241, 92.0890)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6AF8 #96F86A
analogous
#856AF8 #CC6AF8 #F86ADD
triadic
#CC6AF8 #F8CC6A #6AF8CC
tetradic
#CC6AF8 #F8856A #96F86A #6ADDF8
square
#CC6AF8 #F8856A #96F86A #6ADDF8
split-complementary
#CC6AF8 #DDF86A #6AF885
monochromatic
#9C0ADD #B830F5 #CC6AF8 #E0A4FB #F4DFFD

Accessibility & contrast

On white

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

On black

6.98
#CC6AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6AF8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6AF8#FFFFFF#000000##000000
##CC6AF81.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFD
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#C883A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6af8;
/* rgb */ color: rgb(204, 106, 248);
/* oklch */ color: oklch(69.5% 0.216 314.1);
Tailwind
colors: {
  custom: {
    50: '#df99fb',
    500: '#cc6af8',
    950: '#000000',
  },
}
SCSS
$custom: #cc6af8;
$custom-light: #df99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6af8",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 281.408,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69479,
    "c": 0.2158,
    "h": 314.1
  },
  "luminance": 0.29923
}

Semantic roles & 50–950 ramp

primary
#CC6AF8
secondary
#D7F3CA
accent
#E60047
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CC6AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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