#CC74EE#CC74EE

#CC74EE is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.3% C 0.191 H 315.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CC74EE
RGBrgb(204, 116, 238)
HSLhsl(283, 78%, 69%)
HSVhsv(283, 51%, 93%)
CMYKcmyk(14.3%, 51.3%, 0%, 6.7%)
CIE-LABlab(62.93, 53.99, -47.71)
CIE-LCHlch(62.93, 72.04, 318.53°)
OKLaboklab(70.3% 0.1366 -0.1328)
OKLCHoklch(70.3% 0.191 315.8)
XYZxyz(46.5775, 31.5026, 84.4994)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74EE #96EE74
analogous
#8F74EE #CC74EE #EE74D3
triadic
#CC74EE #EECC74 #74EECC
tetradic
#CC74EE #EE8F74 #96EE74 #74D3EE
square
#CC74EE #EE8F74 #96EE74 #74D3EE
split-complementary
#CC74EE #D3EE74 #74EE8F
monochromatic
#9C19CE #B83DE7 #CC74EE #E0ABF5 #F4E1FB

Accessibility & contrast

On white

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

On black

7.30
#CC74EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC74EE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74EE#FFFFFF#000000##000000
##CC74EE1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F2
Deuteranopia (green-blind)
#759BEB
Tritanopia (blue-blind)
#CA87A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc74ee;
/* rgb */ color: rgb(204, 116, 238);
/* oklch */ color: oklch(70.3% 0.191 315.8);
Tailwind
colors: {
  custom: {
    50: '#de9ff4',
    500: '#cc74ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc74ee;
$custom-light: #de9ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74ee",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 283.279,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70298,
    "c": 0.19055,
    "h": 315.8
  },
  "luminance": 0.31501
}

Semantic roles & 50–950 ramp

primary
#CC74EE
secondary
#D7F0CD
accent
#DA0B45
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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