#CC93DC#CC93DC

#CC93DC is a light, moderate purple. Relative luminance 0.389; OKLCH L 74.3% C 0.119 H 318.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CC93DC
RGBrgb(204, 147, 220)
HSLhsl(287, 51%, 72%)
HSVhsv(287, 33%, 86%)
CMYKcmyk(7.3%, 33.2%, 0%, 13.7%)
CIE-LABlab(68.66, 33.96, -28.81)
CIE-LCHlch(68.66, 44.53, 319.69°)
OKLaboklab(74.33% 0.0896 -0.0787)
OKLCHoklch(74.33% 0.119 318.7)
XYZxyz(48.2521, 38.8733, 72.6578)
Luminance0.3887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC93DC #A3DC93
analogous
#A893DC #CC93DC #DC93C8
triadic
#CC93DC #DCCC93 #93DCCC
tetradic
#CC93DC #DCA893 #A3DC93 #93C8DC
square
#CC93DC #DCA893 #A3DC93 #93C8DC
split-complementary
#CC93DC #C8DC93 #93DCA8
monochromatic
#9D3CB9 #B665CD #CC93DC #E2C1EB #F4E8F8

Accessibility & contrast

On white

2.39
#CC93DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CC93DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC93DC
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC93DC#FFFFFF#000000##000000
##CC93DC1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4DF
Deuteranopia (green-blind)
#97A9DA
Tritanopia (blue-blind)
#CD9BAE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc93dc;
/* rgb */ color: rgb(204, 147, 220);
/* oklch */ color: oklch(74.3% 0.119 318.7);
Tailwind
colors: {
  custom: {
    50: '#dcb3e7',
    500: '#cc93dc',
    950: '#000000',
  },
}
SCSS
$custom: #cc93dc;
$custom-light: #dcb3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc93dc",
  "rgb": {
    "r": 204,
    "g": 147,
    "b": 220
  },
  "hsl": {
    "h": 286.849,
    "s": 51.049,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74334,
    "c": 0.1193,
    "h": 318.7
  },
  "luminance": 0.38872
}

Semantic roles & 50–950 ramp

primary
#CC93DC
secondary
#E0EFDC
accent
#BE2748
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC93DC

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

Preview Lab → · Contrast checker → · Palette generator →

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