#CC7CE3#CC7CE3

#CC7CE3 is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.9% C 0.166 H 318.4°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CC7CE3
RGBrgb(204, 124, 227)
HSLhsl(287, 65%, 69%)
HSVhsv(287, 45%, 89%)
CMYKcmyk(10.1%, 45.4%, 0%, 11%)
CIE-LABlab(64.00, 47.66, -39.92)
CIE-LCHlch(64.00, 62.17, 320.05°)
OKLaboklab(70.92% 0.1243 -0.1103)
OKLCHoklch(70.92% 0.166 318.4)
XYZxyz(45.9727, 32.8002, 76.5675)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CE3 #93E37C
analogous
#997CE3 #CC7CE3 #E37CC7
triadic
#CC7CE3 #E3CC7C #7CE3CC
tetradic
#CC7CE3 #E3997C #93E37C #7CC7E3
square
#CC7CE3 #E3997C #93E37C #7CC7E3
split-complementary
#CC7CE3 #C7E37C #7CE399
monochromatic
#9B28BC #B84AD8 #CC7CE3 #E0AEEE #F3E1F9

Accessibility & contrast

On white

2.78
#CC7CE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CC7CE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CE3
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CE3#FFFFFF#000000##000000
##CC7CE31.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B96E7
Deuteranopia (green-blind)
#819EE0
Tritanopia (blue-blind)
#CC8AA5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc7ce3;
/* rgb */ color: rgb(204, 124, 227);
/* oklch */ color: oklch(70.9% 0.166 318.4);
Tailwind
colors: {
  custom: {
    50: '#dda4ec',
    500: '#cc7ce3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ce3;
$custom-light: #dda4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ce3",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 227
  },
  "hsl": {
    "h": 286.602,
    "s": 64.78,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70922,
    "c": 0.16621,
    "h": 318.4
  },
  "luminance": 0.32799
}

Semantic roles & 50–950 ramp

primary
#CC7CE3
secondary
#D5EDCE
accent
#CD1941
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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