#CC8FD2#CC8FD2

#CC8FD2 is a light, moderate purple. Relative luminance 0.371; OKLCH L 73.2% C 0.116 H 323.6°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#CC8FD2
RGBrgb(204, 143, 210)
HSLhsl(295, 43%, 69%)
HSVhsv(295, 32%, 82%)
CMYKcmyk(2.9%, 31.9%, 0%, 17.6%)
CIE-LABlab(67.38, 34.18, -25.23)
CIE-LCHlch(67.38, 42.48, 323.56°)
OKLaboklab(73.24% 0.093 -0.0686)
OKLCHoklch(73.24% 0.116 323.6)
XYZxyz(46.3559, 37.1369, 65.6865)
Luminance0.3714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FD2 #95D28F
analogous
#AB8FD2 #CC8FD2 #D28FB7
triadic
#CC8FD2 #D2CC8F #8FD2CC
tetradic
#CC8FD2 #D2AB8F #95D28F #8FB7D2
square
#CC8FD2 #D2AB8F #95D28F #8FB7D2
split-complementary
#CC8FD2 #B7D28F #8FD2AB
monochromatic
#9C42A5 #B863C0 #CC8FD2 #E0BBE4 #F4E6F5

Accessibility & contrast

On white

2.49
#CC8FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#CC8FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FD2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FD2#FFFFFF#000000##000000
##CC8FD21.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#899FD5
Deuteranopia (green-blind)
#97A7D0
Tritanopia (blue-blind)
#CF96A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc8fd2;
/* rgb */ color: rgb(204, 143, 210);
/* oklch */ color: oklch(73.2% 0.116 323.6);
Tailwind
colors: {
  custom: {
    50: '#dcb0e0',
    500: '#cc8fd2',
    950: '#000000',
  },
}
SCSS
$custom: #cc8fd2;
$custom-light: #dcb0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8fd2",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 210
  },
  "hsl": {
    "h": 294.627,
    "s": 42.675,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73237,
    "c": 0.11558,
    "h": 323.6
  },
  "luminance": 0.37135
}

Semantic roles & 50–950 ramp

primary
#CC8FD2
secondary
#D6E8D5
accent
#B6303C
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CC8FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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