#CC7DEE#CC7DEE

#CC7DEE is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.6% C 0.176 H 314.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CC7DEE
RGBrgb(204, 125, 238)
HSLhsl(282, 77%, 71%)
HSVhsv(282, 47%, 93%)
CMYKcmyk(14.3%, 47.5%, 0%, 6.7%)
CIE-LABlab(64.71, 49.37, -44.91)
CIE-LCHlch(64.71, 66.74, 317.71°)
OKLaboklab(71.61% 0.1245 -0.1247)
OKLCHoklch(71.61% 0.176 314.9)
XYZxyz(47.6656, 33.6789, 84.8621)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DEE #9FEE7D
analogous
#937DEE #CC7DEE #EE7DD7
triadic
#CC7DEE #EECC7D #7DEECC
tetradic
#CC7DEE #EE937D #9FEE7D #7DD7EE
square
#CC7DEE #EE937D #9FEE7D #7DD7EE
split-complementary
#CC7DEE #D7EE7D #7DEE93
monochromatic
#9D1CD5 #B747E7 #CC7DEE #E1B3F5 #F4E4FB

Accessibility & contrast

On white

2.71
#CC7DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#CC7DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DEE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DEE#FFFFFF#000000##000000
##CC7DEE1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#7D9FEB
Tritanopia (blue-blind)
#CA8EAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc7dee;
/* rgb */ color: rgb(204, 125, 238);
/* oklch */ color: oklch(71.6% 0.176 314.9);
Tailwind
colors: {
  custom: {
    50: '#dda5f4',
    500: '#cc7dee',
    950: '#000000',
  },
}
SCSS
$custom: #cc7dee;
$custom-light: #dda5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7dee",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 281.947,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71614,
    "c": 0.17626,
    "h": 314.9
  },
  "luminance": 0.33678
}

Semantic roles & 50–950 ramp

primary
#CC7DEE
secondary
#DDF2D5
accent
#D90C4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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