#CC73EE#CC73EE

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

Color values

HEX#CC73EE
RGBrgb(204, 115, 238)
HSLhsl(283, 78%, 69%)
HSVhsv(283, 52%, 93%)
CMYKcmyk(14.3%, 51.7%, 0%, 6.7%)
CIE-LABlab(62.74, 54.49, -48.01)
CIE-LCHlch(62.74, 72.62, 318.62°)
OKLaboklab(70.16% 0.138 -0.1337)
OKLCHoklch(70.16% 0.192 315.9)
XYZxyz(46.4628, 31.2733, 84.4612)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC73EE #95EE73
analogous
#8F73EE #CC73EE #EE73D2
triadic
#CC73EE #EECC73 #73EECC
tetradic
#CC73EE #EE8F73 #95EE73 #73D2EE
square
#CC73EE #EE8F73 #95EE73 #73D2EE
split-complementary
#CC73EE #D2EE73 #73EE8F
monochromatic
#9C19CE #B83CE7 #CC73EE #E0AAF5 #F4E0FB

Accessibility & contrast

On white

2.89
#CC73EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC73EE#FFFFFF#000000##000000
##CC73EE1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F2
Deuteranopia (green-blind)
#749AEB
Tritanopia (blue-blind)
#CA86A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc73ee;
/* rgb */ color: rgb(204, 115, 238);
/* oklch */ color: oklch(70.2% 0.192 315.9);
Tailwind
colors: {
  custom: {
    50: '#de9ef4',
    500: '#cc73ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc73ee;
$custom-light: #de9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc73ee",
  "rgb": {
    "r": 204,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 283.415,
    "s": 78.344,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70156,
    "c": 0.19211,
    "h": 315.9
  },
  "luminance": 0.31272
}

Semantic roles & 50–950 ramp

primary
#CC73EE
secondary
#D6F0CD
accent
#DB0B44
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC73EE

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

Preview Lab → · Contrast checker → · Palette generator →

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