#CC73E2#CC73E2

#CC73E2 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.5% C 0.180 H 319.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CC73E2
RGBrgb(204, 115, 226)
HSLhsl(288, 66%, 67%)
HSVhsv(288, 49%, 89%)
CMYKcmyk(9.7%, 49.1%, 0%, 11.4%)
CIE-LABlab(62.16, 52.10, -42.25)
CIE-LCHlch(62.16, 67.07, 320.96°)
OKLaboklab(69.54% 0.1366 -0.117)
OKLCHoklch(69.54% 0.18 319.4)
XYZxyz(44.7583, 30.5915, 75.4838)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC73E2 #89E273
analogous
#9573E2 #CC73E2 #E273C1
triadic
#CC73E2 #E2CC73 #73E2CC
tetradic
#CC73E2 #E29573 #89E273 #73C1E2
square
#CC73E2 #E29573 #89E273 #73C1E2
split-complementary
#CC73E2 #C1E273 #73E295
monochromatic
#9926B5 #BA40D7 #CC73E2 #DEA6ED #F1D8F7

Accessibility & contrast

On white

2.95
#CC73E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CC73E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC73E2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC73E2#FFFFFF#000000##000000
##CC73E21.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6090E6
Deuteranopia (green-blind)
#7A99DF
Tritanopia (blue-blind)
#CD82A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc73e2;
/* rgb */ color: rgb(204, 115, 226);
/* oklch */ color: oklch(69.5% 0.180 319.4);
Tailwind
colors: {
  custom: {
    50: '#de9eeb',
    500: '#cc73e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc73e2;
$custom-light: #de9eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc73e2",
  "rgb": {
    "r": 204,
    "g": 115,
    "b": 226
  },
  "hsl": {
    "h": 288.108,
    "s": 65.68,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69542,
    "c": 0.17985,
    "h": 319.4
  },
  "luminance": 0.3059
}

Semantic roles & 50–950 ramp

primary
#CC73E2
secondary
#CEEAC7
accent
#CE183C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CC73E2

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

Preview Lab → · Contrast checker → · Palette generator →

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