#CC68E5#CC68E5

#CC68E5 is a light, vivid purple. Relative luminance 0.284; OKLCH L 68.2% C 0.200 H 319.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#CC68E5
RGBrgb(204, 104, 229)
HSLhsl(288, 71%, 65%)
HSVhsv(288, 55%, 90%)
CMYKcmyk(10.9%, 54.6%, 0%, 10.2%)
CIE-LABlab(60.25, 58.12, -46.94)
CIE-LCHlch(60.25, 74.71, 321.08°)
OKLaboklab(68.18% 0.1515 -0.1305)
OKLCHoklch(68.18% 0.2 319.3)
XYZxyz(43.9932, 28.3969, 77.2773)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC68E5 #81E568
analogous
#8D68E5 #CC68E5 #E568BF
triadic
#CC68E5 #E5CC68 #68E5CC
tetradic
#CC68E5 #E58D68 #81E568 #68BFE5
square
#CC68E5 #E58D68 #81E568 #68BFE5
split-complementary
#CC68E5 #BFE568 #68E58D
monochromatic
#961FB4 #BA34DC #CC68E5 #DE9CEE #EFD0F7

Accessibility & contrast

On white

3.14
#CC68E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#CC68E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC68E5
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC68E5#FFFFFF#000000##000000
##CC68E51.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8AE9
Deuteranopia (green-blind)
#7095E2
Tritanopia (blue-blind)
#CD7B9D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc68e5;
/* rgb */ color: rgb(204, 104, 229);
/* oklch */ color: oklch(68.2% 0.200 319.3);
Tailwind
colors: {
  custom: {
    50: '#de97ee',
    500: '#cc68e5',
    950: '#000000',
  },
}
SCSS
$custom: #cc68e5;
$custom-light: #de97ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc68e5",
  "rgb": {
    "r": 204,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 288,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68177,
    "c": 0.19999,
    "h": 319.3
  },
  "luminance": 0.28395
}

Semantic roles & 50–950 ramp

primary
#CC68E5
secondary
#C8E9BF
accent
#D31339
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC68E5

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

Preview Lab → · Contrast checker → · Palette generator →

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