#CC93DF#CC93DF

#CC93DF is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.5% C 0.123 H 317.5°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CC93DF
RGBrgb(204, 147, 223)
HSLhsl(285, 54%, 73%)
HSVhsv(285, 34%, 87%)
CMYKcmyk(8.5%, 34.1%, 0%, 12.5%)
CIE-LABlab(68.78, 34.56, -30.28)
CIE-LCHlch(68.78, 45.95, 318.77°)
OKLaboklab(74.46% 0.0904 -0.0829)
OKLCHoklch(74.46% 0.123 317.5)
XYZxyz(48.6529, 39.0337, 74.7690)
Luminance0.3903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC93DF #A6DF93
analogous
#A693DF #CC93DF #DF93CC
triadic
#CC93DF #DFCC93 #93DFCC
tetradic
#CC93DF #DFA693 #A6DF93 #93CCDF
square
#CC93DF #DFA693 #A6DF93 #93CCDF
split-complementary
#CC93DF #CCDF93 #93DFA6
monochromatic
#9D39BF #B664D1 #CC93DF #E2C2ED #F4E7F8

Accessibility & contrast

On white

2.38
#CC93DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CC93DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC93DF
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC93DF#FFFFFF#000000##000000
##CC93DF1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A4E2
Deuteranopia (green-blind)
#96AADD
Tritanopia (blue-blind)
#CC9CAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc93df;
/* rgb */ color: rgb(204, 147, 223);
/* oklch */ color: oklch(74.5% 0.123 317.5);
Tailwind
colors: {
  custom: {
    50: '#dcb3e9',
    500: '#cc93df',
    950: '#000000',
  },
}
SCSS
$custom: #cc93df;
$custom-light: #dcb3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc93df",
  "rgb": {
    "r": 204,
    "g": 147,
    "b": 223
  },
  "hsl": {
    "h": 285,
    "s": 54.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7446,
    "c": 0.12265,
    "h": 317.5
  },
  "luminance": 0.39033
}

Semantic roles & 50–950 ramp

primary
#CC93DF
secondary
#E1EFDC
accent
#C2244B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC93DF

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

Preview Lab → · Contrast checker → · Palette generator →

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