#CC93DD#CC93DD

#CC93DD is a light, vivid purple. Relative luminance 0.389; OKLCH L 74.4% C 0.120 H 318.3°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CC93DD
RGBrgb(204, 147, 221)
HSLhsl(286, 52%, 72%)
HSVhsv(286, 33%, 87%)
CMYKcmyk(7.7%, 33.5%, 0%, 13.3%)
CIE-LABlab(68.70, 34.16, -29.30)
CIE-LCHlch(68.70, 45.00, 319.38°)
OKLaboklab(74.38% 0.0899 -0.0801)
OKLCHoklch(74.38% 0.12 318.3)
XYZxyz(48.3849, 38.9265, 73.3573)
Luminance0.3892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC93DD #A4DD93
analogous
#A793DD #CC93DD #DD93C9
triadic
#CC93DD #DDCC93 #93DDCC
tetradic
#CC93DD #DDA793 #A4DD93 #93C9DD
square
#CC93DD #DDA793 #A4DD93 #93C9DD
split-complementary
#CC93DD #C9DD93 #93DDA7
monochromatic
#9D3BBB #B664CE #CC93DD #E2C2EC #F4E8F8

Accessibility & contrast

On white

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

On black

8.78
#CC93DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC93DD
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC93DD#FFFFFF#000000##000000
##CC93DD1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A4E0
Deuteranopia (green-blind)
#97AADB
Tritanopia (blue-blind)
#CC9CAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc93dd;
/* rgb */ color: rgb(204, 147, 221);
/* oklch */ color: oklch(74.4% 0.120 318.3);
Tailwind
colors: {
  custom: {
    50: '#dcb3e7',
    500: '#cc93dd',
    950: '#000000',
  },
}
SCSS
$custom: #cc93dd;
$custom-light: #dcb3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc93dd",
  "rgb": {
    "r": 204,
    "g": 147,
    "b": 221
  },
  "hsl": {
    "h": 286.216,
    "s": 52.113,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74376,
    "c": 0.12041,
    "h": 318.3
  },
  "luminance": 0.38925
}

Semantic roles & 50–950 ramp

primary
#CC93DD
secondary
#E0EFDC
accent
#C02649
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC93DD

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

Preview Lab → · Contrast checker → · Palette generator →

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