#CC72F3#CC72F3

#CC72F3 is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.3% C 0.199 H 314.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CC72F3
RGBrgb(204, 114, 243)
HSLhsl(282, 84%, 70%)
HSVhsv(282, 53%, 95%)
CMYKcmyk(16%, 53.1%, 0%, 4.7%)
CIE-LABlab(62.80, 56.01, -50.68)
CIE-LCHlch(62.80, 75.54, 317.86°)
OKLaboklab(70.28% 0.1397 -0.1415)
OKLCHoklch(70.28% 0.199 314.6)
XYZxyz(47.0942, 31.3444, 88.3459)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC72F3 #99F372
analogous
#8B72F3 #CC72F3 #F372DA
triadic
#CC72F3 #F3CC72 #72F3CC
tetradic
#CC72F3 #F38B72 #99F372 #72DAF3
square
#CC72F3 #F38B72 #99F372 #72DAF3
split-complementary
#CC72F3 #DAF372 #72F38B
monochromatic
#9C12D8 #B83AEE #CC72F3 #E0AAF8 #F5E3FD

Accessibility & contrast

On white

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

On black

7.27
#CC72F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC72F3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC72F3#FFFFFF#000000##000000
##CC72F31.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F7
Deuteranopia (green-blind)
#709AF0
Tritanopia (blue-blind)
#C987A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc72f3;
/* rgb */ color: rgb(204, 114, 243);
/* oklch */ color: oklch(70.3% 0.199 314.6);
Tailwind
colors: {
  custom: {
    50: '#de9ef7',
    500: '#cc72f3',
    950: '#000000',
  },
}
SCSS
$custom: #cc72f3;
$custom-light: #de9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc72f3",
  "rgb": {
    "r": 204,
    "g": 114,
    "b": 243
  },
  "hsl": {
    "h": 281.86,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.70281,
    "c": 0.19881,
    "h": 314.6
  },
  "luminance": 0.31343
}

Semantic roles & 50–950 ramp

primary
#CC72F3
secondary
#D9F2CE
accent
#E10547
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC72F3

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

Preview Lab → · Contrast checker → · Palette generator →

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