#CC94DF#CC94DF

#CC94DF is a light, vivid purple. Relative luminance 0.393; OKLCH L 74.6% C 0.121 H 317.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CC94DF
RGBrgb(204, 148, 223)
HSLhsl(285, 54%, 73%)
HSVhsv(285, 34%, 87%)
CMYKcmyk(8.5%, 33.6%, 0%, 12.5%)
CIE-LABlab(69.00, 34.01, -29.94)
CIE-LCHlch(69.00, 45.31, 318.65°)
OKLaboklab(74.63% 0.0889 -0.0819)
OKLCHoklch(74.63% 0.121 317.3)
XYZxyz(48.8091, 39.3460, 74.8211)
Luminance0.3935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC94DF #A7DF94
analogous
#A694DF #CC94DF #DF94CC
triadic
#CC94DF #DFCC94 #94DFCC
tetradic
#CC94DF #DFA694 #A7DF94 #94CCDF
square
#CC94DF #DFA694 #A7DF94 #94CCDF
split-complementary
#CC94DF #CCDF94 #94DFA6
monochromatic
#9D39BF #B665D1 #CC94DF #E2C3ED #F4E7F8

Accessibility & contrast

On white

2.37
#CC94DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CC94DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC94DF
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC94DF#FFFFFF#000000##000000
##CC94DF1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA5E2
Deuteranopia (green-blind)
#97AADD
Tritanopia (blue-blind)
#CC9DB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc94df;
/* rgb */ color: rgb(204, 148, 223);
/* oklch */ color: oklch(74.6% 0.121 317.3);
Tailwind
colors: {
  custom: {
    50: '#dcb4e9',
    500: '#cc94df',
    950: '#000000',
  },
}
SCSS
$custom: #cc94df;
$custom-light: #dcb4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc94df",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 223
  },
  "hsl": {
    "h": 284.8,
    "s": 53.957,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74631,
    "c": 0.12091,
    "h": 317.3
  },
  "luminance": 0.39345
}

Semantic roles & 50–950 ramp

primary
#CC94DF
secondary
#E1EFDC
accent
#C1244C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC94DF

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

Preview Lab → · Contrast checker → · Palette generator →

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