#CC73F1#CC73F1

#CC73F1 is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.3% C 0.195 H 315.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CC73F1
RGBrgb(204, 115, 241)
HSLhsl(282, 82%, 70%)
HSVhsv(282, 52%, 95%)
CMYKcmyk(15.4%, 52.3%, 0%, 5.5%)
CIE-LABlab(62.89, 55.10, -49.44)
CIE-LCHlch(62.89, 74.03, 318.10°)
OKLaboklab(70.31% 0.1382 -0.1378)
OKLCHoklch(70.31% 0.195 315.1)
XYZxyz(46.9073, 31.4511, 86.8018)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC73F1 #98F173
analogous
#8D73F1 #CC73F1 #F173D7
triadic
#CC73F1 #F1CC73 #73F1CC
tetradic
#CC73F1 #F18D73 #98F173 #73D7F1
square
#CC73F1 #F18D73 #98F173 #73D7F1
split-complementary
#CC73F1 #D7F173 #73F18D
monochromatic
#9C15D4 #B83BEB #CC73F1 #E0ABF7 #F5E2FC

Accessibility & contrast

On white

2.88
#CC73F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CC73F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC73F1
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC73F1#FFFFFF#000000##000000
##CC73F11.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5693F5
Deuteranopia (green-blind)
#729BEE
Tritanopia (blue-blind)
#CA87A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc73f1;
/* rgb */ color: rgb(204, 115, 241);
/* oklch */ color: oklch(70.3% 0.195 315.1);
Tailwind
colors: {
  custom: {
    50: '#de9ef6',
    500: '#cc73f1',
    950: '#000000',
  },
}
SCSS
$custom: #cc73f1;
$custom-light: #de9ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc73f1",
  "rgb": {
    "r": 204,
    "g": 115,
    "b": 241
  },
  "hsl": {
    "h": 282.381,
    "s": 81.818,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70314,
    "c": 0.19521,
    "h": 315.1
  },
  "luminance": 0.3145
}

Semantic roles & 50–950 ramp

primary
#CC73F1
secondary
#D9F2CE
accent
#DE0746
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC73F1

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

Preview Lab → · Contrast checker → · Palette generator →

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