#CC72E7#CC72E7

#CC72E7 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.7% C 0.187 H 318.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CC72E7
RGBrgb(204, 114, 231)
HSLhsl(286, 71%, 68%)
HSVhsv(286, 51%, 91%)
CMYKcmyk(11.7%, 50.6%, 0%, 9.4%)
CIE-LABlab(62.21, 53.59, -44.96)
CIE-LCHlch(62.21, 69.95, 320.00°)
OKLaboklab(69.65% 0.1386 -0.1249)
OKLCHoklch(69.65% 0.187 318)
XYZxyz(45.3410, 30.6431, 79.1121)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC72E7 #8DE772
analogous
#9272E7 #CC72E7 #E772C7
triadic
#CC72E7 #E7CC72 #72E7CC
tetradic
#CC72E7 #E79272 #8DE772 #72C7E7
square
#CC72E7 #E79272 #8DE772 #72C7E7
split-complementary
#CC72E7 #C7E772 #72E792
monochromatic
#9A20BE #B93EDE #CC72E7 #DFA6F0 #F2DBF9

Accessibility & contrast

On white

2.95
#CC72E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CC72E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC72E7
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC72E7#FFFFFF#000000##000000
##CC72E71.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EB
Deuteranopia (green-blind)
#7799E4
Tritanopia (blue-blind)
#CC83A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc72e7;
/* rgb */ color: rgb(204, 114, 231);
/* oklch */ color: oklch(69.7% 0.187 318.0);
Tailwind
colors: {
  custom: {
    50: '#de9def',
    500: '#cc72e7',
    950: '#000000',
  },
}
SCSS
$custom: #cc72e7;
$custom-light: #de9def;
$custom-dark: #000000;
JSON
{
  "hex": "#cc72e7",
  "rgb": {
    "r": 204,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 286.154,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69652,
    "c": 0.18651,
    "h": 318
  },
  "luminance": 0.30642
}

Semantic roles & 50–950 ramp

primary
#CC72E7
secondary
#D1EDC8
accent
#D3133F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CC72E7

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

Preview Lab → · Contrast checker → · Palette generator →

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