#CC7FE3#CC7FE3

#CC7FE3 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.4% C 0.161 H 318.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CC7FE3
RGBrgb(204, 127, 227)
HSLhsl(286, 64%, 69%)
HSVhsv(286, 44%, 89%)
CMYKcmyk(10.1%, 44.1%, 0%, 11%)
CIE-LABlab(64.61, 46.09, -38.96)
CIE-LCHlch(64.61, 60.35, 319.79°)
OKLaboklab(71.38% 0.1201 -0.1076)
OKLCHoklch(71.38% 0.161 318.1)
XYZxyz(46.3544, 33.5636, 76.6948)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FE3 #96E37F
analogous
#9A7FE3 #CC7FE3 #E37FC8
triadic
#CC7FE3 #E3CC7F #7FE3CC
tetradic
#CC7FE3 #E39A7F #96E37F #7FC8E3
square
#CC7FE3 #E39A7F #96E37F #7FC8E3
split-complementary
#CC7FE3 #C8E37F #7FE39A
monochromatic
#9C2ABE #B84DD8 #CC7FE3 #E0B1EE #F4E3F9

Accessibility & contrast

On white

2.72
#CC7FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CC7FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FE3
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FE3#FFFFFF#000000##000000
##CC7FE31.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F98E7
Deuteranopia (green-blind)
#849FE0
Tritanopia (blue-blind)
#CC8CA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc7fe3;
/* rgb */ color: rgb(204, 127, 227);
/* oklch */ color: oklch(71.4% 0.161 318.1);
Tailwind
colors: {
  custom: {
    50: '#dda6ec',
    500: '#cc7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fe3;
$custom-light: #dda6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fe3",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 286.2,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71382,
    "c": 0.16124,
    "h": 318.1
  },
  "luminance": 0.33562
}

Semantic roles & 50–950 ramp

primary
#CC7FE3
secondary
#D7EDD0
accent
#CC1A43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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