#CC6CF5#CC6CF5

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

Color values

HEX#CC6CF5
RGBrgb(204, 108, 245)
HSLhsl(282, 87%, 69%)
HSVhsv(282, 56%, 96%)
CMYKcmyk(16.7%, 55.9%, 0%, 3.9%)
CIE-LABlab(61.79, 59.37, -53.39)
CIE-LCHlch(61.79, 79.84, 318.04°)
OKLaboklab(69.57% 0.1475 -0.1493)
OKLCHoklch(69.57% 0.21 314.6)
XYZxyz(46.7432, 30.1565, 89.7270)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CF5 #95F56C
analogous
#886CF5 #CC6CF5 #F56CD9
triadic
#CC6CF5 #F5CC6C #6CF5CC
tetradic
#CC6CF5 #F5886C #95F56C #6CD9F5
square
#CC6CF5 #F5886C #95F56C #6CD9F5
split-complementary
#CC6CF5 #D9F56C #6CF588
monochromatic
#9C0FD8 #B833F1 #CC6CF5 #E0A5F9 #F4DFFD

Accessibility & contrast

On white

2.99
#CC6CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CC6CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6CF5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6CF5#FFFFFF#000000##000000
##CC6CF51.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#6A98F2
Tritanopia (blue-blind)
#C983A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6cf5;
/* rgb */ color: rgb(204, 108, 245);
/* oklch */ color: oklch(69.6% 0.210 314.6);
Tailwind
colors: {
  custom: {
    50: '#de9af9',
    500: '#cc6cf5',
    950: '#000000',
  },
}
SCSS
$custom: #cc6cf5;
$custom-light: #de9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6cf5",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 282.044,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69574,
    "c": 0.20986,
    "h": 314.6
  },
  "luminance": 0.30155
}

Semantic roles & 50–950 ramp

primary
#CC6CF5
secondary
#D6F2CA
accent
#E40245
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CC6CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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