#CC72F0#CC72F0

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

Color values

HEX#CC72F0
RGBrgb(204, 114, 240)
HSLhsl(283, 81%, 69%)
HSVhsv(283, 53%, 94%)
CMYKcmyk(15%, 52.5%, 0%, 5.9%)
CIE-LABlab(62.65, 55.40, -49.26)
CIE-LCHlch(62.65, 74.13, 318.35°)
OKLaboklab(70.12% 0.1395 -0.1373)
OKLCHoklch(70.12% 0.196 315.4)
XYZxyz(46.6449, 31.1647, 85.9794)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC72F0 #96F072
analogous
#8D72F0 #CC72F0 #F072D5
triadic
#CC72F0 #F0CC72 #72F0CC
tetradic
#CC72F0 #F08D72 #96F072 #72D5F0
square
#CC72F0 #F08D72 #96F072 #72D5F0
split-complementary
#CC72F0 #D5F072 #72F08D
monochromatic
#9C16D1 #B83BEA #CC72F0 #E0A9F6 #F4E1FC

Accessibility & contrast

On white

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

On black

7.23
#CC72F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC72F0
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC72F0#FFFFFF#000000##000000
##CC72F01.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F4
Deuteranopia (green-blind)
#729AED
Tritanopia (blue-blind)
#CA86A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc72f0;
/* rgb */ color: rgb(204, 114, 240);
/* oklch */ color: oklch(70.1% 0.196 315.4);
Tailwind
colors: {
  custom: {
    50: '#de9ef5',
    500: '#cc72f0',
    950: '#000000',
  },
}
SCSS
$custom: #cc72f0;
$custom-light: #de9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc72f0",
  "rgb": {
    "r": 204,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 282.857,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70121,
    "c": 0.19572,
    "h": 315.4
  },
  "luminance": 0.31163
}

Semantic roles & 50–950 ramp

primary
#CC72F0
secondary
#D7F1CD
accent
#DD0845
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC72F0

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

Preview Lab → · Contrast checker → · Palette generator →

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