#CC7CD4#CC7CD4

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

Color values

HEX#CC7CD4
RGBrgb(204, 124, 212)
HSLhsl(295, 51%, 66%)
HSVhsv(295, 42%, 83%)
CMYKcmyk(3.8%, 41.5%, 0%, 16.9%)
CIE-LABlab(63.35, 44.74, -32.57)
CIE-LCHlch(63.35, 55.34, 323.95°)
OKLaboklab(70.22% 0.1216 -0.0893)
OKLCHoklch(70.22% 0.151 323.7)
XYZxyz(43.9920, 32.0079, 66.1355)
Luminance0.3201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CD4 #84D47C
analogous
#A07CD4 #CC7CD4 #D47CB0
triadic
#CC7CD4 #D4CC7C #7CD4CC
tetradic
#CC7CD4 #D4A07C #84D47C #7CB0D4
square
#CC7CD4 #D4A07C #84D47C #7CB0D4
split-complementary
#CC7CD4 #B0D47C #7CD4A0
monochromatic
#9735A1 #BA4EC5 #CC7CD4 #DEAAE3 #F0D8F2

Accessibility & contrast

On white

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

On black

7.40
#CC7CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CD4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CD4#FFFFFF#000000##000000
##CC7CD41.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D7
Deuteranopia (green-blind)
#889DD1
Tritanopia (blue-blind)
#CF869E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7cd4;
/* rgb */ color: rgb(204, 124, 212);
/* oklch */ color: oklch(70.2% 0.151 323.7);
Tailwind
colors: {
  custom: {
    50: '#dda4e1',
    500: '#cc7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cd4;
$custom-light: #dda4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cd4",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 294.545,
    "s": 50.575,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70224,
    "c": 0.15083,
    "h": 323.7
  },
  "luminance": 0.32006
}

Semantic roles & 50–950 ramp

primary
#CC7CD4
secondary
#CAE4C7
accent
#BE2835
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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