#CC7DC6#CC7DC6

#CC7DC6 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.8% C 0.136 H 329.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CC7DC6
RGBrgb(204, 125, 198)
HSLhsl(305, 44%, 65%)
HSVhsv(305, 39%, 80%)
CMYKcmyk(0%, 38.7%, 2.9%, 20%)
CIE-LABlab(63.00, 41.62, -25.25)
CIE-LCHlch(63.00, 48.68, 328.76°)
OKLaboklab(69.78% 0.117 -0.0685)
OKLCHoklch(69.78% 0.136 329.6)
XYZxyz(42.4279, 31.5838, 57.2766)
Luminance0.3158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DC6 #7DCC83
analogous
#AB7DCC #CC7DC6 #CC7D9F
triadic
#CC7DC6 #C6CC7D #7DC6CC
tetradic
#CC7DC6 #CCAB7D #7DCC83 #7D9FCC
square
#CC7DC6 #CCAB7D #7DCC83 #7D9FCC
split-complementary
#CC7DC6 #9FCC7D #7DCCAB
monochromatic
#943A8E #BB51B3 #CC7DC6 #DDA9D9 #EED5ED

Accessibility & contrast

On white

2.87
#CC7DC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CC7DC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DC6
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DC6#FFFFFF#000000##000000
##CC7DC61.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7992C9
Deuteranopia (green-blind)
#8E9CC3
Tritanopia (blue-blind)
#D28398
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc7dc6;
/* rgb */ color: rgb(204, 125, 198);
/* oklch */ color: oklch(69.8% 0.136 329.6);
Tailwind
colors: {
  custom: {
    50: '#dda4d7',
    500: '#cc7dc6',
    950: '#000000',
  },
}
SCSS
$custom: #cc7dc6;
$custom-light: #dda4d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7dc6",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 304.557,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69776,
    "c": 0.13555,
    "h": 329.6
  },
  "luminance": 0.31582
}

Semantic roles & 50–950 ramp

primary
#CC7DC6
secondary
#C5E0C7
accent
#B7392F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC7DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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