#CC73EA#CC73EA

#CC73EA is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.9% C 0.188 H 317.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CC73EA
RGBrgb(204, 115, 234)
HSLhsl(285, 74%, 68%)
HSVhsv(285, 51%, 92%)
CMYKcmyk(12.8%, 50.9%, 0%, 8.2%)
CIE-LABlab(62.54, 53.68, -46.10)
CIE-LCHlch(62.54, 70.76, 319.35°)
OKLaboklab(69.95% 0.1375 -0.1282)
OKLCHoklch(69.95% 0.188 317)
XYZxyz(45.8817, 31.0409, 81.4005)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC73EA #91EA73
analogous
#9073EA #CC73EA #EA73CC
triadic
#CC73EA #EACC73 #73EACC
tetradic
#CC73EA #EA9073 #91EA73 #73CCEA
square
#CC73EA #EA9073 #91EA73 #73CCEA
split-complementary
#CC73EA #CCEA73 #73EA90
monochromatic
#9B1EC5 #B93EE2 #CC73EA #DFA8F2 #F3DDFA

Accessibility & contrast

On white

2.91
#CC73EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CC73EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC73EA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC73EA#FFFFFF#000000##000000
##CC73EA1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EE
Deuteranopia (green-blind)
#769AE7
Tritanopia (blue-blind)
#CB85A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc73ea;
/* rgb */ color: rgb(204, 115, 234);
/* oklch */ color: oklch(69.9% 0.188 317.0);
Tailwind
colors: {
  custom: {
    50: '#de9ef1',
    500: '#cc73ea',
    950: '#000000',
  },
}
SCSS
$custom: #cc73ea;
$custom-light: #de9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc73ea",
  "rgb": {
    "r": 204,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 284.874,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69948,
    "c": 0.188,
    "h": 317
  },
  "luminance": 0.31039
}

Semantic roles & 50–950 ramp

primary
#CC73EA
secondary
#D4EECA
accent
#D60F42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC73EA

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

Preview Lab → · Contrast checker → · Palette generator →

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