#CC7CC4#CC7CC4

#CC7CC4 is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.5% C 0.135 H 330.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CC7CC4
RGBrgb(204, 124, 196)
HSLhsl(306, 44%, 64%)
HSVhsv(306, 39%, 80%)
CMYKcmyk(0%, 39.2%, 3.9%, 20%)
CIE-LABlab(62.71, 41.79, -24.56)
CIE-LCHlch(62.71, 48.47, 329.56°)
OKLaboklab(69.53% 0.118 -0.0666)
OKLCHoklch(69.53% 0.135 330.6)
XYZxyz(42.0728, 31.2403, 56.0277)
Luminance0.3124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CC4 #7CCC84
analogous
#AC7CCC #CC7CC4 #CC7C9C
triadic
#CC7CC4 #C4CC7C #7CC4CC
tetradic
#CC7CC4 #CCAC7C #7CCC84 #7C9CCC
square
#CC7CC4 #CCAC7C #7CCC84 #7C9CCC
split-complementary
#CC7CC4 #9CCC7C #7CCCAC
monochromatic
#943A8B #BB50B0 #CC7CC4 #DDA8D8 #EED4EC

Accessibility & contrast

On white

2.90
#CC7CC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CC7CC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CC4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CC4#FFFFFF#000000##000000
##CC7CC41.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7991C7
Deuteranopia (green-blind)
#8E9CC1
Tritanopia (blue-blind)
#D28297
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc7cc4;
/* rgb */ color: rgb(204, 124, 196);
/* oklch */ color: oklch(69.5% 0.135 330.6);
Tailwind
colors: {
  custom: {
    50: '#dda3d6',
    500: '#cc7cc4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cc4;
$custom-light: #dda3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cc4",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 196
  },
  "hsl": {
    "h": 306,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69534,
    "c": 0.13546,
    "h": 330.6
  },
  "luminance": 0.31238
}

Semantic roles & 50–950 ramp

primary
#CC7CC4
secondary
#C4E0C7
accent
#B73C2E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC7CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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