#CC8FDD#CC8FDD

#CC8FDD is a light, vivid purple. Relative luminance 0.377; OKLCH L 73.7% C 0.127 H 318.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#CC8FDD
RGBrgb(204, 143, 221)
HSLhsl(287, 53%, 71%)
HSVhsv(287, 35%, 87%)
CMYKcmyk(7.7%, 35.3%, 0%, 13.3%)
CIE-LABlab(67.80, 36.33, -30.68)
CIE-LCHlch(67.80, 47.55, 319.82°)
OKLaboklab(73.7% 0.0958 -0.084)
OKLCHoklch(73.7% 0.127 318.7)
XYZxyz(47.7737, 37.7040, 73.1536)
Luminance0.3770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FDD #A0DD8F
analogous
#A58FDD #CC8FDD #DD8FC7
triadic
#CC8FDD #DDCC8F #8FDDCC
tetradic
#CC8FDD #DDA58F #A0DD8F #8FC7DD
square
#CC8FDD #DDA58F #A0DD8F #8FC7DD
split-complementary
#CC8FDD #C7DD8F #8FDDA5
monochromatic
#9D38B9 #B760CF #CC8FDD #E1BEEB #F4E8F8

Accessibility & contrast

On white

2.46
#CC8FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#CC8FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FDD
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FDD#FFFFFF#000000##000000
##CC8FDD1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A1E0
Deuteranopia (green-blind)
#93A7DB
Tritanopia (blue-blind)
#CD98AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8fdd;
/* rgb */ color: rgb(204, 143, 221);
/* oklch */ color: oklch(73.7% 0.127 318.7);
Tailwind
colors: {
  custom: {
    50: '#dcb0e7',
    500: '#cc8fdd',
    950: '#000000',
  },
}
SCSS
$custom: #cc8fdd;
$custom-light: #dcb0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8fdd",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 221
  },
  "hsl": {
    "h": 286.923,
    "s": 53.425,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73696,
    "c": 0.1274,
    "h": 318.7
  },
  "luminance": 0.37703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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