#CC8FCA#CC8FCA

#CC8FCA is a light, moderate purple. Relative luminance 0.367; OKLCH L 72.9% C 0.107 H 327.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CC8FCA
RGBrgb(204, 143, 202)
HSLhsl(302, 37%, 68%)
HSVhsv(302, 30%, 80%)
CMYKcmyk(0%, 29.9%, 1%, 20%)
CIE-LABlab(67.09, 32.67, -21.23)
CIE-LCHlch(67.09, 38.96, 326.98°)
OKLaboklab(72.92% 0.0908 -0.0574)
OKLCHoklch(72.92% 0.107 327.7)
XYZxyz(45.3840, 36.7482, 60.5681)
Luminance0.3675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FCA #8FCC91
analogous
#AF8FCC #CC8FCA #CC8FAB
triadic
#CC8FCA #CACC8F #8FCACC
tetradic
#CC8FCA #CCAF8F #8FCC91 #8FABCC
square
#CC8FCA #CCAF8F #8FCC91 #8FABCC
split-complementary
#CC8FCA #ABCC8F #8FCCAF
monochromatic
#9A4698 #B965B6 #CC8FCA #DFB9DE #F2E3F2

Accessibility & contrast

On white

2.52
#CC8FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#CC8FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FCA
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FCA#FFFFFF#000000##000000
##CC8FCA1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ECC
Deuteranopia (green-blind)
#9AA6C8
Tritanopia (blue-blind)
#D094A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc8fca;
/* rgb */ color: rgb(204, 143, 202);
/* oklch */ color: oklch(72.9% 0.107 327.7);
Tailwind
colors: {
  custom: {
    50: '#dcb0da',
    500: '#cc8fca',
    950: '#000000',
  },
}
SCSS
$custom: #cc8fca;
$custom-light: #dcb0da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8fca",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 301.967,
    "s": 37.423,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72919,
    "c": 0.10741,
    "h": 327.7
  },
  "luminance": 0.36747
}

Semantic roles & 50–950 ramp

primary
#CC8FCA
secondary
#D2E5D3
accent
#B03935
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #CC8FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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