#CC8FDF#CC8FDF

#CC8FDF is a light, vivid purple. Relative luminance 0.378; OKLCH L 73.8% C 0.130 H 317.9°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CC8FDF
RGBrgb(204, 143, 223)
HSLhsl(286, 56%, 72%)
HSVhsv(286, 36%, 87%)
CMYKcmyk(8.5%, 35.9%, 0%, 12.5%)
CIE-LABlab(67.88, 36.73, -31.66)
CIE-LCHlch(67.88, 48.50, 319.24°)
OKLaboklab(73.78% 0.0962 -0.0868)
OKLCHoklch(73.78% 0.13 317.9)
XYZxyz(48.0417, 37.8112, 74.5653)
Luminance0.3781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FDF #A2DF8F
analogous
#A48FDF #CC8FDF #DF8FCA
triadic
#CC8FDF #DFCC8F #8FDFCC
tetradic
#CC8FDF #DFA48F #A2DF8F #8FCADF
square
#CC8FDF #DFA48F #A2DF8F #8FCADF
split-complementary
#CC8FDF #CADF8F #8FDFA4
monochromatic
#9D36BD #B65FD1 #CC8FDF #E2BFED #F4E7F8

Accessibility & contrast

On white

2.45
#CC8FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#CC8FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FDF
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FDF#FFFFFF#000000##000000
##CC8FDF1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1E2
Deuteranopia (green-blind)
#93A7DD
Tritanopia (blue-blind)
#CC99AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8fdf;
/* rgb */ color: rgb(204, 143, 223);
/* oklch */ color: oklch(73.8% 0.130 317.9);
Tailwind
colors: {
  custom: {
    50: '#dcb0e9',
    500: '#cc8fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cc8fdf;
$custom-light: #dcb0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8fdf",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 285.75,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73783,
    "c": 0.12961,
    "h": 317.9
  },
  "luminance": 0.3781
}

Semantic roles & 50–950 ramp

primary
#CC8FDF
secondary
#E0EFDB
accent
#C32249
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC8FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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