#CC8FDA#CC8FDA

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

Color values

HEX#CC8FDA
RGBrgb(204, 143, 218)
HSLhsl(289, 50%, 71%)
HSVhsv(289, 34%, 85%)
CMYKcmyk(6.4%, 34.4%, 0%, 14.5%)
CIE-LABlab(67.68, 35.74, -29.20)
CIE-LCHlch(67.68, 46.15, 320.74°)
OKLaboklab(73.57% 0.095 -0.0798)
OKLCHoklch(73.57% 0.124 320)
XYZxyz(47.3776, 37.5456, 71.0674)
Luminance0.3754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FDA #9DDA8F
analogous
#A68FDA #CC8FDA #DA8FC2
triadic
#CC8FDA #DACC8F #8FDACC
tetradic
#CC8FDA #DAA68F #9DDA8F #8FC2DA
square
#CC8FDA #DAA68F #9DDA8F #8FC2DA
split-complementary
#CC8FDA #C2DA8F #8FDAA6
monochromatic
#9D3BB3 #B761CB #CC8FDA #E1BDE9 #F5E8F7

Accessibility & contrast

On white

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

On black

8.51
#CC8FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FDA
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FDA#FFFFFF#000000##000000
##CC8FDA1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DD
Deuteranopia (green-blind)
#95A7D8
Tritanopia (blue-blind)
#CD98AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8fda;
/* rgb */ color: rgb(204, 143, 218);
/* oklch */ color: oklch(73.6% 0.124 320.0);
Tailwind
colors: {
  custom: {
    50: '#dcb0e5',
    500: '#cc8fda',
    950: '#000000',
  },
}
SCSS
$custom: #cc8fda;
$custom-light: #dcb0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8fda",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 288.8,
    "s": 50.336,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73569,
    "c": 0.12412,
    "h": 320
  },
  "luminance": 0.37544
}

Semantic roles & 50–950 ramp

primary
#CC8FDA
secondary
#DCECD8
accent
#BE2844
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC8FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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