#CC7FEE#CC7FEE

#CC7FEE is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.9% C 0.173 H 314.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CC7FEE
RGBrgb(204, 127, 238)
HSLhsl(282, 77%, 72%)
HSVhsv(282, 47%, 93%)
CMYKcmyk(14.3%, 46.6%, 0%, 6.7%)
CIE-LABlab(65.11, 48.33, -44.27)
CIE-LCHlch(65.11, 65.54, 317.51°)
OKLaboklab(71.92% 0.1218 -0.1229)
OKLCHoklch(71.92% 0.173 314.7)
XYZxyz(47.9214, 34.1904, 84.9474)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FEE #A1EE7F
analogous
#957FEE #CC7FEE #EE7FD8
triadic
#CC7FEE #EECC7F #7FEECC
tetradic
#CC7FEE #EE957F #A1EE7F #7FD8EE
square
#CC7FEE #EE957F #A1EE7F #7FD8EE
split-complementary
#CC7FEE #D8EE7F #7FEE95
monochromatic
#9D1CD6 #B649E7 #CC7FEE #E2B5F5 #F4E4FB

Accessibility & contrast

On white

2.68
#CC7FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CC7FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FEE
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FEE#FFFFFF#000000##000000
##CC7FEE1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF2
Deuteranopia (green-blind)
#7EA0EB
Tritanopia (blue-blind)
#CA8FAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc7fee;
/* rgb */ color: rgb(204, 127, 238);
/* oklch */ color: oklch(71.9% 0.173 314.7);
Tailwind
colors: {
  custom: {
    50: '#dda6f4',
    500: '#cc7fee',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fee;
$custom-light: #dda6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fee",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 281.622,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71917,
    "c": 0.17302,
    "h": 314.7
  },
  "luminance": 0.34189
}

Semantic roles & 50–950 ramp

primary
#CC7FEE
secondary
#DFF3D6
accent
#D90D4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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