#CC7FE0#CC7FE0

#CC7FE0 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.2% C 0.158 H 319.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CC7FE0
RGBrgb(204, 127, 224)
HSLhsl(288, 61%, 69%)
HSVhsv(288, 43%, 88%)
CMYKcmyk(8.9%, 43.3%, 0%, 12.2%)
CIE-LABlab(64.48, 45.49, -37.50)
CIE-LCHlch(64.48, 58.96, 320.50°)
OKLaboklab(71.24% 0.1196 -0.1034)
OKLCHoklch(71.24% 0.158 319.1)
XYZxyz(45.9440, 33.3995, 74.5331)
Luminance0.3340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FE0 #93E07F
analogous
#9C7FE0 #CC7FE0 #E07FC4
triadic
#CC7FE0 #E0CC7F #7FE0CC
tetradic
#CC7FE0 #E09C7F #93E07F #7FC4E0
square
#CC7FE0 #E09C7F #93E07F #7FC4E0
split-complementary
#CC7FE0 #C4E07F #7FE09C
monochromatic
#9B2DB8 #B84ED4 #CC7FE0 #E0B0EC #F3E2F8

Accessibility & contrast

On white

2.73
#CC7FE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#CC7FE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FE0
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FE0#FFFFFF#000000##000000
##CC7FE01.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E3
Deuteranopia (green-blind)
#859FDD
Tritanopia (blue-blind)
#CD8CA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7fe0;
/* rgb */ color: rgb(204, 127, 224);
/* oklch */ color: oklch(71.2% 0.158 319.1);
Tailwind
colors: {
  custom: {
    50: '#dda6ea',
    500: '#cc7fe0',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fe0;
$custom-light: #dda6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fe0",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 287.629,
    "s": 61.006,
    "l": 68.824
  },
  "oklch": {
    "l": 0.7124,
    "c": 0.15806,
    "h": 319.1
  },
  "luminance": 0.33398
}

Semantic roles & 50–950 ramp

primary
#CC7FE0
secondary
#D5ECCF
accent
#C91D40
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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