#CC73ED#CC73ED

#CC73ED is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.1% C 0.191 H 316.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CC73ED
RGBrgb(204, 115, 237)
HSLhsl(284, 77%, 69%)
HSVhsv(284, 51%, 93%)
CMYKcmyk(13.9%, 51.5%, 0%, 7.1%)
CIE-LABlab(62.69, 54.29, -47.53)
CIE-LCHlch(62.69, 72.16, 318.79°)
OKLaboklab(70.1% 0.1379 -0.1323)
OKLCHoklch(70.1% 0.191 316.2)
XYZxyz(46.3163, 31.2147, 83.6896)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC73ED #94ED73
analogous
#8F73ED #CC73ED #ED73D1
triadic
#CC73ED #EDCC73 #73EDCC
tetradic
#CC73ED #ED8F73 #94ED73 #73D1ED
square
#CC73ED #ED8F73 #94ED73 #73D1ED
split-complementary
#CC73ED #D1ED73 #73ED8F
monochromatic
#9B1ACB #B83DE6 #CC73ED #E0A9F4 #F4DFFB

Accessibility & contrast

On white

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

On black

7.24
#CC73ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC73ED
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC73ED#FFFFFF#000000##000000
##CC73ED1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F1
Deuteranopia (green-blind)
#759AEA
Tritanopia (blue-blind)
#CA86A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc73ed;
/* rgb */ color: rgb(204, 115, 237);
/* oklch */ color: oklch(70.1% 0.191 316.2);
Tailwind
colors: {
  custom: {
    50: '#de9ef3',
    500: '#cc73ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc73ed;
$custom-light: #de9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc73ed",
  "rgb": {
    "r": 204,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 283.77,
    "s": 77.215,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70104,
    "c": 0.19107,
    "h": 316.2
  },
  "luminance": 0.31213
}

Semantic roles & 50–950 ramp

primary
#CC73ED
secondary
#D6F0CC
accent
#D90C44
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC73ED

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

Preview Lab → · Contrast checker → · Palette generator →

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