#CC74CF#CC74CF

#CC74CF is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.8% C 0.160 H 325.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CC74CF
RGBrgb(204, 116, 207)
HSLhsl(298, 49%, 63%)
HSVhsv(298, 44%, 81%)
CMYKcmyk(1.4%, 44%, 0%, 18.8%)
CIE-LABlab(61.51, 47.97, -32.61)
CIE-LCHlch(61.51, 58.00, 325.79°)
OKLaboklab(68.78% 0.1321 -0.0893)
OKLCHoklch(68.78% 0.16 325.9)
XYZxyz(42.4088, 29.8352, 62.5443)
Luminance0.2983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74CF #77CF74
analogous
#9E74CF #CC74CF #CF74A4
triadic
#CC74CF #CFCC74 #74CFCC
tetradic
#CC74CF #CF9E74 #77CF74 #74A4CF
square
#CC74CF #CF9E74 #77CF74 #74A4CF
split-complementary
#CC74CF #A4CF74 #74CF9E
monochromatic
#923395 #BB47BF #CC74CF #DDA1DF #EDCFEE

Accessibility & contrast

On white

3.01
#CC74CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CC74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC74CF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74CF#FFFFFF#000000##000000
##CC74CF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8DD2
Deuteranopia (green-blind)
#8498CC
Tritanopia (blue-blind)
#D07E98
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc74cf;
/* rgb */ color: rgb(204, 116, 207);
/* oklch */ color: oklch(68.8% 0.160 325.9);
Tailwind
colors: {
  custom: {
    50: '#dd9ede',
    500: '#cc74cf',
    950: '#000000',
  },
}
SCSS
$custom: #cc74cf;
$custom-light: #dd9ede;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74cf",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 298.022,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68782,
    "c": 0.1595,
    "h": 325.9
  },
  "luminance": 0.29833
}

Semantic roles & 50–950 ramp

primary
#CC74CF
secondary
#C0E0BF
accent
#BC2A2E
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150F15
muted
#837E83

Preview Lab

Preview with #CC74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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