#CC6DF5#CC6DF5

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

Color values

HEX#CC6DF5
RGBrgb(204, 109, 245)
HSLhsl(282, 87%, 69%)
HSVhsv(282, 56%, 96%)
CMYKcmyk(16.7%, 55.5%, 0%, 3.9%)
CIE-LABlab(61.97, 58.88, -53.10)
CIE-LCHlch(61.97, 79.29, 317.96°)
OKLaboklab(69.71% 0.1462 -0.1485)
OKLCHoklch(69.71% 0.208 314.6)
XYZxyz(46.8492, 30.3686, 89.7623)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6DF5 #96F56D
analogous
#886DF5 #CC6DF5 #F56DDA
triadic
#CC6DF5 #F5CC6D #6DF5CC
tetradic
#CC6DF5 #F5886D #96F56D #6DDAF5
square
#CC6DF5 #F5886D #96F56D #6DDAF5
split-complementary
#CC6DF5 #DAF56D #6DF588
monochromatic
#9C0FD9 #B834F1 #CC6DF5 #E0A6F9 #F4E0FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC6DF5#FFFFFF#000000##000000
##CC6DF51.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)
#4990F9
Deuteranopia (green-blind)
#6A98F2
Tritanopia (blue-blind)
#C984A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6df5;
/* rgb */ color: rgb(204, 109, 245);
/* oklch */ color: oklch(69.7% 0.208 314.6);
Tailwind
colors: {
  custom: {
    50: '#de9bf9',
    500: '#cc6df5',
    950: '#000000',
  },
}
SCSS
$custom: #cc6df5;
$custom-light: #de9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6df5",
  "rgb": {
    "r": 204,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 281.912,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69708,
    "c": 0.20838,
    "h": 314.6
  },
  "luminance": 0.30367
}

Semantic roles & 50–950 ramp

primary
#CC6DF5
secondary
#D7F2CB
accent
#E40246
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CC6DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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