#CC74CD#CC74CD

#CC74CD is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.7% C 0.158 H 326.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CC74CD
RGBrgb(204, 116, 205)
HSLhsl(299, 47%, 63%)
HSVhsv(299, 43%, 80%)
CMYKcmyk(0.5%, 43.4%, 0%, 19.6%)
CIE-LABlab(61.43, 47.60, -31.62)
CIE-LCHlch(61.43, 57.14, 326.41°)
OKLaboklab(68.69% 0.1318 -0.0865)
OKLCHoklch(68.69% 0.158 326.7)
XYZxyz(42.1658, 29.7380, 61.2647)
Luminance0.2974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74CD #75CD74
analogous
#9F74CD #CC74CD #CD74A1
triadic
#CC74CD #CDCC74 #74CDCC
tetradic
#CC74CD #CD9F74 #75CD74 #74A1CD
square
#CC74CD #CD9F74 #75CD74 #74A1CD
split-complementary
#CC74CD #A1CD74 #74CD9F
monochromatic
#913592 #BB47BD #CC74CD #DDA1DD #EDCEED

Accessibility & contrast

On white

3.02
#CC74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CC74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC74CD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74CD#FFFFFF#000000##000000
##CC74CD1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#8598CA
Tritanopia (blue-blind)
#D17D97
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc74cd;
/* rgb */ color: rgb(204, 116, 205);
/* oklch */ color: oklch(68.7% 0.158 326.7);
Tailwind
colors: {
  custom: {
    50: '#dd9edc',
    500: '#cc74cd',
    950: '#000000',
  },
}
SCSS
$custom: #cc74cd;
$custom-light: #dd9edc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74cd",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 299.326,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68692,
    "c": 0.15761,
    "h": 326.7
  },
  "luminance": 0.29736
}

Semantic roles & 50–950 ramp

primary
#CC74CD
secondary
#BFDEBE
accent
#BA2B2D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150F15
muted
#837E83

Preview Lab

Preview with #CC74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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