#CC6DF2#CC6DF2

#CC6DF2 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.5% C 0.205 H 315.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CC6DF2
RGBrgb(204, 109, 242)
HSLhsl(283, 84%, 69%)
HSVhsv(283, 55%, 95%)
CMYKcmyk(15.7%, 55%, 0%, 5.1%)
CIE-LABlab(61.82, 58.27, -51.69)
CIE-LCHlch(61.82, 77.89, 318.43°)
OKLaboklab(69.54% 0.146 -0.1444)
OKLCHoklch(69.54% 0.205 315.3)
XYZxyz(46.3950, 30.1869, 87.3699)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6DF2 #93F26D
analogous
#8A6DF2 #CC6DF2 #F26DD6
triadic
#CC6DF2 #F2CC6D #6DF2CC
tetradic
#CC6DF2 #F28A6D #93F26D #6DD6F2
square
#CC6DF2 #F28A6D #93F26D #6DD6F2
split-complementary
#CC6DF2 #D6F26D #6DF28A
monochromatic
#9B13D2 #B835ED #CC6DF2 #E0A5F7 #F3DDFC

Accessibility & contrast

On white

2.98
#CC6DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CC6DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6DF2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6DF2#FFFFFF#000000##000000
##CC6DF21.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B90F6
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#CA83A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6df2;
/* rgb */ color: rgb(204, 109, 242);
/* oklch */ color: oklch(69.5% 0.205 315.3);
Tailwind
colors: {
  custom: {
    50: '#de9bf7',
    500: '#cc6df2',
    950: '#000000',
  },
}
SCSS
$custom: #cc6df2;
$custom-light: #de9bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6df2",
  "rgb": {
    "r": 204,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 282.857,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69543,
    "c": 0.20535,
    "h": 315.3
  },
  "luminance": 0.30185
}

Semantic roles & 50–950 ramp

primary
#CC6DF2
secondary
#D5F1CA
accent
#E00544
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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