#CC7CD5#CC7CD5

#CC7CD5 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.3% C 0.152 H 323.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CC7CD5
RGBrgb(204, 124, 213)
HSLhsl(294, 51%, 66%)
HSVhsv(294, 42%, 84%)
CMYKcmyk(4.2%, 41.8%, 0%, 16.5%)
CIE-LABlab(63.39, 44.93, -33.06)
CIE-LCHlch(63.39, 55.79, 323.65°)
OKLaboklab(70.27% 0.1218 -0.0907)
OKLCHoklch(70.27% 0.152 323.3)
XYZxyz(44.1185, 32.0585, 66.8019)
Luminance0.3206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CD5 #85D57C
analogous
#9F7CD5 #CC7CD5 #D57CB1
triadic
#CC7CD5 #D5CC7C #7CD5CC
tetradic
#CC7CD5 #D59F7C #85D57C #7CB1D5
square
#CC7CD5 #D59F7C #85D57C #7CB1D5
split-complementary
#CC7CD5 #B1D57C #7CD59F
monochromatic
#9734A2 #BA4EC6 #CC7CD5 #DEAAE4 #F0D9F3

Accessibility & contrast

On white

2.83
#CC7CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CC7CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CD5
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CD5#FFFFFF#000000##000000
##CC7CD51.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D8
Deuteranopia (green-blind)
#879DD2
Tritanopia (blue-blind)
#CF869F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7cd5;
/* rgb */ color: rgb(204, 124, 213);
/* oklch */ color: oklch(70.3% 0.152 323.3);
Tailwind
colors: {
  custom: {
    50: '#dda4e2',
    500: '#cc7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cd5;
$custom-light: #dda4e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cd5",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 293.933,
    "s": 51.445,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70269,
    "c": 0.15183,
    "h": 323.3
  },
  "luminance": 0.32057
}

Semantic roles & 50–950 ramp

primary
#CC7CD5
secondary
#CBE5C8
accent
#BF2736
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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