#CC6DEF#CC6DEF

#CC6DEF is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.4% C 0.202 H 316.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CC6DEF
RGBrgb(204, 109, 239)
HSLhsl(284, 80%, 68%)
HSVhsv(284, 54%, 94%)
CMYKcmyk(14.6%, 54.4%, 0%, 6.3%)
CIE-LABlab(61.66, 57.67, -50.27)
CIE-LCHlch(61.66, 76.50, 318.92°)
OKLaboklab(69.38% 0.1458 -0.1402)
OKLCHoklch(69.38% 0.202 316.1)
XYZxyz(45.9481, 30.0082, 85.0164)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6DEF #90EF6D
analogous
#8B6DEF #CC6DEF #EF6DD1
triadic
#CC6DEF #EFCC6D #6DEFCC
tetradic
#CC6DEF #EF8B6D #90EF6D #6DD1EF
square
#CC6DEF #EF8B6D #90EF6D #6DD1EF
split-complementary
#CC6DEF #D1EF6D #6DEF8B
monochromatic
#9B16CB #B936E9 #CC6DEF #DFA4F5 #F3DBFB

Accessibility & contrast

On white

3.00
#CC6DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#CC6DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6DEF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6DEF#FFFFFF#000000##000000
##CC6DEF1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#CA82A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6def;
/* rgb */ color: rgb(204, 109, 239);
/* oklch */ color: oklch(69.4% 0.202 316.1);
Tailwind
colors: {
  custom: {
    50: '#de9bf5',
    500: '#cc6def',
    950: '#000000',
  },
}
SCSS
$custom: #cc6def;
$custom-light: #de9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6def",
  "rgb": {
    "r": 204,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 283.846,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6938,
    "c": 0.20232,
    "h": 316.1
  },
  "luminance": 0.30007
}

Semantic roles & 50–950 ramp

primary
#CC6DEF
secondary
#D3F0C8
accent
#DD0942
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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