#CC7DDF#CC7DDF

#CC7DDF is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.9% C 0.160 H 319.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CC7DDF
RGBrgb(204, 125, 223)
HSLhsl(288, 60%, 68%)
HSVhsv(288, 44%, 87%)
CMYKcmyk(8.5%, 43.9%, 0%, 12.5%)
CIE-LABlab(64.03, 46.35, -37.66)
CIE-LCHlch(64.03, 59.72, 320.91°)
OKLaboklab(70.88% 0.1222 -0.1038)
OKLCHoklch(70.88% 0.16 319.6)
XYZxyz(45.5530, 32.8339, 73.7357)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DDF #90DF7D
analogous
#9B7DDF #CC7DDF #DF7DC1
triadic
#CC7DDF #DFCC7D #7DDFCC
tetradic
#CC7DDF #DF9B7D #90DF7D #7DC1DF
square
#CC7DDF #DF9B7D #90DF7D #7DC1DF
split-complementary
#CC7DDF #C1DF7D #7DDF9B
monochromatic
#9B2DB5 #B94CD3 #CC7DDF #DFAEEB #F3DFF7

Accessibility & contrast

On white

2.78
#CC7DDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CC7DDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DDF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DDF#FFFFFF#000000##000000
##CC7DDF1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E96E2
Deuteranopia (green-blind)
#849EDC
Tritanopia (blue-blind)
#CD8AA4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc7ddf;
/* rgb */ color: rgb(204, 125, 223);
/* oklch */ color: oklch(70.9% 0.160 319.6);
Tailwind
colors: {
  custom: {
    50: '#dda4e9',
    500: '#cc7ddf',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ddf;
$custom-light: #dda4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ddf",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 288.367,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70885,
    "c": 0.16037,
    "h": 319.6
  },
  "luminance": 0.32832
}

Semantic roles & 50–950 ramp

primary
#CC7DDF
secondary
#D3EBCD
accent
#C81D3E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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