#CC68E2#CC68E2

#CC68E2 is a light, vivid purple. Relative luminance 0.282; OKLCH L 68.0% C 0.197 H 320.1°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#CC68E2
RGBrgb(204, 104, 226)
HSLhsl(289, 68%, 65%)
HSVhsv(289, 54%, 89%)
CMYKcmyk(9.7%, 54%, 0%, 11.4%)
CIE-LABlab(60.10, 57.55, -45.50)
CIE-LCHlch(60.10, 73.36, 321.67°)
OKLaboklab(68.02% 0.1513 -0.1263)
OKLCHoklch(68.02% 0.197 320.1)
XYZxyz(43.5779, 28.2308, 75.0904)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC68E2 #7EE268
analogous
#8F68E2 #CC68E2 #E268BB
triadic
#CC68E2 #E2CC68 #68E2CC
tetradic
#CC68E2 #E28F68 #7EE268 #68BBE2
square
#CC68E2 #E28F68 #7EE268 #68BBE2
split-complementary
#CC68E2 #BBE268 #68E28F
monochromatic
#9521AE #BB35D8 #CC68E2 #DD9BEC #EFCFF6

Accessibility & contrast

On white

3.16
#CC68E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#CC68E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC68E2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC68E2#FFFFFF#000000##000000
##CC68E21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#7294DF
Tritanopia (blue-blind)
#CD7A9B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc68e2;
/* rgb */ color: rgb(204, 104, 226);
/* oklch */ color: oklch(68.0% 0.197 320.1);
Tailwind
colors: {
  custom: {
    50: '#de97eb',
    500: '#cc68e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc68e2;
$custom-light: #de97eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc68e2",
  "rgb": {
    "r": 204,
    "g": 104,
    "b": 226
  },
  "hsl": {
    "h": 289.18,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68019,
    "c": 0.19708,
    "h": 320.1
  },
  "luminance": 0.28229
}

Semantic roles & 50–950 ramp

primary
#CC68E2
secondary
#C6E8BE
accent
#D01637
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC68E2

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

Preview Lab → · Contrast checker → · Palette generator →

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