#CC7CDC#CC7CDC

#CC7CDC is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.6% C 0.159 H 320.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CC7CDC
RGBrgb(204, 124, 220)
HSLhsl(290, 58%, 67%)
HSVhsv(290, 44%, 86%)
CMYKcmyk(7.3%, 43.6%, 0%, 13.7%)
CIE-LABlab(63.69, 46.28, -36.51)
CIE-LCHlch(63.69, 58.95, 321.73°)
OKLaboklab(70.59% 0.1231 -0.1005)
OKLCHoklch(70.59% 0.159 320.8)
XYZxyz(45.0262, 32.4216, 71.5825)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CDC #8CDC7C
analogous
#9C7CDC #CC7CDC #DC7CBC
triadic
#CC7CDC #DCCC7C #7CDCCC
tetradic
#CC7CDC #DC9C7C #8CDC7C #7CBCDC
square
#CC7CDC #DC9C7C #8CDC7C #7CBCDC
split-complementary
#CC7CDC #BCDC7C #7CDC9C
monochromatic
#9A2FAF #B94CCF #CC7CDC #DFACE9 #F2DDF6

Accessibility & contrast

On white

2.81
#CC7CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CC7CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CDC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CDC#FFFFFF#000000##000000
##CC7CDC1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DF
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#CE88A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7cdc;
/* rgb */ color: rgb(204, 124, 220);
/* oklch */ color: oklch(70.6% 0.159 320.8);
Tailwind
colors: {
  custom: {
    50: '#dda4e7',
    500: '#cc7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cdc;
$custom-light: #dda4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cdc",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 290,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7059,
    "c": 0.15894,
    "h": 320.8
  },
  "luminance": 0.3242
}

Semantic roles & 50–950 ramp

primary
#CC7CDC
secondary
#D0E9CB
accent
#C5203C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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