#CC84DF#CC84DF

#CC84DF is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.0% C 0.149 H 319.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#CC84DF
RGBrgb(204, 132, 223)
HSLhsl(287, 59%, 70%)
HSVhsv(287, 41%, 87%)
CMYKcmyk(8.5%, 40.8%, 0%, 12.5%)
CIE-LABlab(65.49, 42.65, -35.37)
CIE-LCHlch(65.49, 55.41, 320.33°)
OKLaboklab(71.98% 0.1122 -0.0973)
OKLCHoklch(71.98% 0.149 319.1)
XYZxyz(46.4706, 34.6691, 74.0416)
Luminance0.3467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC84DF #97DF84
analogous
#9F84DF #CC84DF #DF84C4
triadic
#CC84DF #DFCC84 #84DFCC
tetradic
#CC84DF #DF9F84 #97DF84 #84C4DF
square
#CC84DF #DF9F84 #97DF84 #84C4DF
split-complementary
#CC84DF #C4DF84 #84DF9F
monochromatic
#9C30B9 #B853D2 #CC84DF #E0B5EC #F4E5F8

Accessibility & contrast

On white

2.65
#CC84DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#CC84DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC84DF
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC84DF#FFFFFF#000000##000000
##CC84DF1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE2
Deuteranopia (green-blind)
#8AA2DC
Tritanopia (blue-blind)
#CD8FA7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc84df;
/* rgb */ color: rgb(204, 132, 223);
/* oklch */ color: oklch(72.0% 0.149 319.1);
Tailwind
colors: {
  custom: {
    50: '#dda9e9',
    500: '#cc84df',
    950: '#000000',
  },
}
SCSS
$custom: #cc84df;
$custom-light: #dda9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc84df",
  "rgb": {
    "r": 204,
    "g": 132,
    "b": 223
  },
  "hsl": {
    "h": 287.473,
    "s": 58.71,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71981,
    "c": 0.14855,
    "h": 319.1
  },
  "luminance": 0.34668
}

Semantic roles & 50–950 ramp

primary
#CC84DF
secondary
#D8ECD2
accent
#C61F42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC84DF

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

Preview Lab → · Contrast checker → · Palette generator →

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