#CC74EA#CC74EA

#CC74EA is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.1% C 0.186 H 316.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CC74EA
RGBrgb(204, 116, 234)
HSLhsl(285, 74%, 69%)
HSVhsv(285, 50%, 92%)
CMYKcmyk(12.8%, 50.4%, 0%, 8.2%)
CIE-LABlab(62.74, 53.18, -45.80)
CIE-LCHlch(62.74, 70.18, 319.27°)
OKLaboklab(70.09% 0.1362 -0.1273)
OKLCHoklch(70.09% 0.186 316.9)
XYZxyz(45.9964, 31.2702, 81.4388)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74EA #92EA74
analogous
#9174EA #CC74EA #EA74CD
triadic
#CC74EA #EACC74 #74EACC
tetradic
#CC74EA #EA9174 #92EA74 #74CDEA
square
#CC74EA #EA9174 #92EA74 #74CDEA
split-complementary
#CC74EA #CDEA74 #74EA91
monochromatic
#9B1EC6 #B83FE2 #CC74EA #E0A9F2 #F3DEFA

Accessibility & contrast

On white

2.90
#CC74EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CC74EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC74EA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74EA#FFFFFF#000000##000000
##CC74EA1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#779BE7
Tritanopia (blue-blind)
#CB86A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc74ea;
/* rgb */ color: rgb(204, 116, 234);
/* oklch */ color: oklch(70.1% 0.186 316.9);
Tailwind
colors: {
  custom: {
    50: '#de9ff1',
    500: '#cc74ea',
    950: '#000000',
  },
}
SCSS
$custom: #cc74ea;
$custom-light: #de9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74ea",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 284.746,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.7009,
    "c": 0.18642,
    "h": 316.9
  },
  "luminance": 0.31269
}

Semantic roles & 50–950 ramp

primary
#CC74EA
secondary
#D4EFCB
accent
#D61042
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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