#CC72EF#CC72EF

#CC72EF is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.1% C 0.195 H 315.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CC72EF
RGBrgb(204, 114, 239)
HSLhsl(283, 80%, 69%)
HSVhsv(283, 52%, 94%)
CMYKcmyk(14.6%, 52.3%, 0%, 6.3%)
CIE-LABlab(62.60, 55.19, -48.79)
CIE-LCHlch(62.60, 73.66, 318.53°)
OKLaboklab(70.07% 0.1394 -0.1359)
OKLCHoklch(70.07% 0.195 315.7)
XYZxyz(46.4967, 31.1054, 85.1993)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC72EF #95EF72
analogous
#8E72EF #CC72EF #EF72D4
triadic
#CC72EF #EFCC72 #72EFCC
tetradic
#CC72EF #EF8E72 #95EF72 #72D4EF
square
#CC72EF #EF8E72 #95EF72 #72D4EF
split-complementary
#CC72EF #D4EF72 #72EF8E
monochromatic
#9C18CF #B83BE9 #CC72EF #E0A9F5 #F4E0FB

Accessibility & contrast

On white

2.91
#CC72EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CC72EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC72EF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC72EF#FFFFFF#000000##000000
##CC72EF1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#CA86A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc72ef;
/* rgb */ color: rgb(204, 114, 239);
/* oklch */ color: oklch(70.1% 0.195 315.7);
Tailwind
colors: {
  custom: {
    50: '#de9ef5',
    500: '#cc72ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc72ef;
$custom-light: #de9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc72ef",
  "rgb": {
    "r": 204,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 283.2,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70068,
    "c": 0.19469,
    "h": 315.7
  },
  "luminance": 0.31104
}

Semantic roles & 50–950 ramp

primary
#CC72EF
secondary
#D6F1CC
accent
#DC0A44
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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