#CC73E4#CC73E4

#CC73E4 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.6% C 0.182 H 318.8°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CC73E4
RGBrgb(204, 115, 228)
HSLhsl(287, 68%, 67%)
HSVhsv(287, 50%, 89%)
CMYKcmyk(10.5%, 49.6%, 0%, 10.6%)
CIE-LABlab(62.26, 52.49, -43.22)
CIE-LCHlch(62.26, 67.99, 320.54°)
OKLaboklab(69.64% 0.1369 -0.1198)
OKLCHoklch(69.64% 0.182 318.8)
XYZxyz(45.0343, 30.7019, 76.9376)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC73E4 #8BE473
analogous
#9473E4 #CC73E4 #E473C3
triadic
#CC73E4 #E4CC73 #73E4CC
tetradic
#CC73E4 #E49473 #8BE473 #73C3E4
square
#CC73E4 #E49473 #8BE473 #73C3E4
split-complementary
#CC73E4 #C3E473 #73E494
monochromatic
#9924B9 #B940DA #CC73E4 #DFA6EE #F1DAF8

Accessibility & contrast

On white

2.94
#CC73E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CC73E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC73E4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC73E4#FFFFFF#000000##000000
##CC73E41.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F90E8
Deuteranopia (green-blind)
#799AE1
Tritanopia (blue-blind)
#CC83A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc73e4;
/* rgb */ color: rgb(204, 115, 228);
/* oklch */ color: oklch(69.6% 0.182 318.8);
Tailwind
colors: {
  custom: {
    50: '#de9eed',
    500: '#cc73e4',
    950: '#000000',
  },
}
SCSS
$custom: #cc73e4;
$custom-light: #de9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#cc73e4",
  "rgb": {
    "r": 204,
    "g": 115,
    "b": 228
  },
  "hsl": {
    "h": 287.257,
    "s": 67.665,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69642,
    "c": 0.18188,
    "h": 318.8
  },
  "luminance": 0.307
}

Semantic roles & 50–950 ramp

primary
#CC73E4
secondary
#CFEBC8
accent
#D0163D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CC73E4

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

Preview Lab → · Contrast checker → · Palette generator →

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