#CC8EDE#CC8EDE

#CC8EDE is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.6% C 0.130 H 318.4°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#CC8EDE
RGBrgb(204, 142, 222)
HSLhsl(287, 55%, 71%)
HSVhsv(287, 36%, 87%)
CMYKcmyk(8.1%, 36%, 0%, 12.9%)
CIE-LABlab(67.62, 37.07, -31.52)
CIE-LCHlch(67.62, 48.66, 319.63°)
OKLaboklab(73.57% 0.0975 -0.0864)
OKLCHoklch(73.57% 0.13 318.4)
XYZxyz(47.7579, 37.4586, 73.8075)
Luminance0.3746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EDE #A0DE8E
analogous
#A48EDE #CC8EDE #DE8EC8
triadic
#CC8EDE #DECC8E #8EDECC
tetradic
#CC8EDE #DEA48E #A0DE8E #8EC8DE
square
#CC8EDE #DEA48E #A0DE8E #8EC8DE
split-complementary
#CC8EDE #C8DE8E #8EDEA4
monochromatic
#9D37BB #B75FD0 #CC8EDE #E1BDEC #F4E7F8

Accessibility & contrast

On white

2.47
#CC8EDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CC8EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EDE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EDE#FFFFFF#000000##000000
##CC8EDE1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A1E1
Deuteranopia (green-blind)
#92A7DC
Tritanopia (blue-blind)
#CC98AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8ede;
/* rgb */ color: rgb(204, 142, 222);
/* oklch */ color: oklch(73.6% 0.130 318.4);
Tailwind
colors: {
  custom: {
    50: '#dcb0e8',
    500: '#cc8ede',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ede;
$custom-light: #dcb0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ede",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 222
  },
  "hsl": {
    "h": 286.5,
    "s": 54.795,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73572,
    "c": 0.13024,
    "h": 318.4
  },
  "luminance": 0.37457
}

Semantic roles & 50–950 ramp

primary
#CC8EDE
secondary
#DEEEDA
accent
#C22347
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC8EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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