#CC74ED#CC74ED

#CC74ED is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.2% C 0.190 H 316.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CC74ED
RGBrgb(204, 116, 237)
HSLhsl(284, 77%, 69%)
HSVhsv(284, 51%, 93%)
CMYKcmyk(13.9%, 51.1%, 0%, 7.1%)
CIE-LABlab(62.88, 53.78, -47.23)
CIE-LCHlch(62.88, 71.58, 318.71°)
OKLaboklab(70.25% 0.1365 -0.1314)
OKLCHoklch(70.25% 0.19 316.1)
XYZxyz(46.4310, 31.4440, 83.7278)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74ED #95ED74
analogous
#9074ED #CC74ED #ED74D2
triadic
#CC74ED #EDCC74 #74EDCC
tetradic
#CC74ED #ED9074 #95ED74 #74D2ED
square
#CC74ED #ED9074 #95ED74 #74D2ED
split-complementary
#CC74ED #D2ED74 #74ED90
monochromatic
#9C1ACC #B83EE6 #CC74ED #E0AAF4 #F4E0FB

Accessibility & contrast

On white

2.88
#CC74ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CC74ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC74ED
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74ED#FFFFFF#000000##000000
##CC74ED1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F1
Deuteranopia (green-blind)
#759BEA
Tritanopia (blue-blind)
#CA86A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc74ed;
/* rgb */ color: rgb(204, 116, 237);
/* oklch */ color: oklch(70.2% 0.190 316.1);
Tailwind
colors: {
  custom: {
    50: '#de9ff3',
    500: '#cc74ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc74ed;
$custom-light: #de9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74ed",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 283.636,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70245,
    "c": 0.18952,
    "h": 316.1
  },
  "luminance": 0.31443
}

Semantic roles & 50–950 ramp

primary
#CC74ED
secondary
#D6F0CD
accent
#D90C44
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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