#CC6CF8#CC6CF8

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

Color values

HEX#CC6CF8
RGBrgb(204, 108, 248)
HSLhsl(281, 91%, 70%)
HSVhsv(281, 56%, 97%)
CMYKcmyk(17.7%, 56.5%, 0%, 2.7%)
CIE-LABlab(61.95, 59.98, -54.79)
CIE-LCHlch(61.95, 81.24, 317.59°)
OKLaboklab(69.74% 0.1476 -0.1534)
OKLCHoklch(69.74% 0.213 313.9)
XYZxyz(47.2049, 30.3411, 92.1585)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CF8 #98F86C
analogous
#866CF8 #CC6CF8 #F86CDE
triadic
#CC6CF8 #F8CC6C #6CF8CC
tetradic
#CC6CF8 #F8866C #98F86C #6CDEF8
square
#CC6CF8 #F8866C #98F86C #6CDEF8
split-complementary
#CC6CF8 #DEF86C #6CF886
monochromatic
#9C0BDF #B832F5 #CC6CF8 #E0A6FB #F5E1FE

Accessibility & contrast

On white

2.97
#CC6CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CC6CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6CF8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6CF8#FFFFFF#000000##000000
##CC6CF81.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FD
Deuteranopia (green-blind)
#6798F4
Tritanopia (blue-blind)
#C884A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6cf8;
/* rgb */ color: rgb(204, 108, 248);
/* oklch */ color: oklch(69.7% 0.213 313.9);
Tailwind
colors: {
  custom: {
    50: '#df9afb',
    500: '#cc6cf8',
    950: '#000000',
  },
}
SCSS
$custom: #cc6cf8;
$custom-light: #df9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6cf8",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 281.143,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69741,
    "c": 0.21289,
    "h": 313.9
  },
  "luminance": 0.3034
}

Semantic roles & 50–950 ramp

primary
#CC6CF8
secondary
#D9F4CC
accent
#E60048
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CC6CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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