#CC8EDD#CC8EDD

#CC8EDD is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.5% C 0.129 H 318.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CC8EDD
RGBrgb(204, 142, 221)
HSLhsl(287, 54%, 71%)
HSVhsv(287, 36%, 87%)
CMYKcmyk(7.7%, 35.7%, 0%, 13.3%)
CIE-LABlab(67.58, 36.87, -31.03)
CIE-LCHlch(67.58, 48.19, 319.92°)
OKLaboklab(73.53% 0.0972 -0.085)
OKLCHoklch(73.53% 0.129 318.8)
XYZxyz(47.6242, 37.4051, 73.1038)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EDD #9FDD8E
analogous
#A48EDD #CC8EDD #DD8EC6
triadic
#CC8EDD #DDCC8E #8EDDCC
tetradic
#CC8EDD #DDA48E #9FDD8E #8EC6DD
square
#CC8EDD #DDA48E #9FDD8E #8EC6DD
split-complementary
#CC8EDD #C6DD8E #8EDDA4
monochromatic
#9D38B9 #B75FCF #CC8EDD #E1BDEB #F4E7F8

Accessibility & contrast

On white

2.48
#CC8EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CC8EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EDD
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EDD#FFFFFF#000000##000000
##CC8EDD1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0E0
Deuteranopia (green-blind)
#93A7DB
Tritanopia (blue-blind)
#CD97AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8edd;
/* rgb */ color: rgb(204, 142, 221);
/* oklch */ color: oklch(73.5% 0.129 318.8);
Tailwind
colors: {
  custom: {
    50: '#dcb0e7',
    500: '#cc8edd',
    950: '#000000',
  },
}
SCSS
$custom: #cc8edd;
$custom-light: #dcb0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8edd",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 287.089,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73528,
    "c": 0.12915,
    "h": 318.8
  },
  "luminance": 0.37404
}

Semantic roles & 50–950 ramp

primary
#CC8EDD
secondary
#DDEED9
accent
#C12446
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC8EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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