#CC7CED#CC7CED

#CC7CED is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.4% C 0.177 H 315.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CC7CED
RGBrgb(204, 124, 237)
HSLhsl(282, 76%, 71%)
HSVhsv(282, 48%, 93%)
CMYKcmyk(13.9%, 47.7%, 0%, 7.1%)
CIE-LABlab(64.46, 49.69, -44.74)
CIE-LCHlch(64.46, 66.86, 318.00°)
OKLaboklab(71.41% 0.1258 -0.1243)
OKLCHoklch(71.41% 0.177 315.3)
XYZxyz(47.3932, 33.3684, 84.0485)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CED #9DED7C
analogous
#937CED #CC7CED #ED7CD5
triadic
#CC7CED #EDCC7C #7CEDCC
tetradic
#CC7CED #ED937C #9DED7C #7CD5ED
square
#CC7CED #ED937C #9DED7C #7CD5ED
split-complementary
#CC7CED #D5ED7C #7CED93
monochromatic
#9D1DD2 #B746E6 #CC7CED #E1B2F4 #F5E4FB

Accessibility & contrast

On white

2.74
#CC7CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CC7CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CED
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CED#FFFFFF#000000##000000
##CC7CED1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F1
Deuteranopia (green-blind)
#7C9FEA
Tritanopia (blue-blind)
#CA8DAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7ced;
/* rgb */ color: rgb(204, 124, 237);
/* oklch */ color: oklch(71.4% 0.177 315.3);
Tailwind
colors: {
  custom: {
    50: '#dda4f3',
    500: '#cc7ced',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ced;
$custom-light: #dda4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ced",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 282.478,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71414,
    "c": 0.1768,
    "h": 315.3
  },
  "luminance": 0.33367
}

Semantic roles & 50–950 ramp

primary
#CC7CED
secondary
#DCF2D3
accent
#D80D49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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