#CC7CD3#CC7CD3

#CC7CD3 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.2% C 0.150 H 324.1°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CC7CD3
RGBrgb(204, 124, 211)
HSLhsl(295, 50%, 66%)
HSVhsv(295, 41%, 83%)
CMYKcmyk(3.3%, 41.2%, 0%, 17.3%)
CIE-LABlab(63.31, 44.55, -32.07)
CIE-LCHlch(63.31, 54.90, 324.25°)
OKLaboklab(70.18% 0.1214 -0.0878)
OKLCHoklch(70.18% 0.15 324.1)
XYZxyz(43.8662, 31.9576, 65.4732)
Luminance0.3196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CD3 #83D37C
analogous
#A07CD3 #CC7CD3 #D37CAE
triadic
#CC7CD3 #D3CC7C #7CD3CC
tetradic
#CC7CD3 #D3A07C #83D37C #7CAED3
square
#CC7CD3 #D3A07C #83D37C #7CAED3
split-complementary
#CC7CD3 #AED37C #7CD3A0
monochromatic
#97359F #BA4EC4 #CC7CD3 #DEAAE2 #F0D8F2

Accessibility & contrast

On white

2.84
#CC7CD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CC7CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CD3
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CD3#FFFFFF#000000##000000
##CC7CD31.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D6
Deuteranopia (green-blind)
#889DD0
Tritanopia (blue-blind)
#CF859E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7cd3;
/* rgb */ color: rgb(204, 124, 211);
/* oklch */ color: oklch(70.2% 0.150 324.1);
Tailwind
colors: {
  custom: {
    50: '#dda4e0',
    500: '#cc7cd3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cd3;
$custom-light: #dda4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cd3",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 295.172,
    "s": 49.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70179,
    "c": 0.14983,
    "h": 324.1
  },
  "luminance": 0.31956
}

Semantic roles & 50–950 ramp

primary
#CC7CD3
secondary
#C9E4C7
accent
#BD2834
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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