#CC8FDB#CC8FDB

#CC8FDB is a light, vivid purple. Relative luminance 0.376; OKLCH L 73.6% C 0.125 H 319.6°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CC8FDB
RGBrgb(204, 143, 219)
HSLhsl(288, 51%, 71%)
HSVhsv(288, 35%, 86%)
CMYKcmyk(6.8%, 34.7%, 0%, 14.1%)
CIE-LABlab(67.72, 35.93, -29.70)
CIE-LCHlch(67.72, 46.62, 320.43°)
OKLaboklab(73.61% 0.0953 -0.0812)
OKLCHoklch(73.61% 0.125 319.6)
XYZxyz(47.5088, 37.5981, 71.7586)
Luminance0.3760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FDB #9EDB8F
analogous
#A68FDB #CC8FDB #DB8FC4
triadic
#CC8FDB #DBCC8F #8FDBCC
tetradic
#CC8FDB #DBA68F #9EDB8F #8FC4DB
square
#CC8FDB #DBA68F #9EDB8F #8FC4DB
split-complementary
#CC8FDB #C4DB8F #8FDBA6
monochromatic
#9D3AB5 #B761CC #CC8FDB #E1BDEA #F4E8F8

Accessibility & contrast

On white

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

On black

8.52
#CC8FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FDB
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FDB#FFFFFF#000000##000000
##CC8FDB1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A1DE
Deuteranopia (green-blind)
#94A7D9
Tritanopia (blue-blind)
#CD98AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8fdb;
/* rgb */ color: rgb(204, 143, 219);
/* oklch */ color: oklch(73.6% 0.125 319.6);
Tailwind
colors: {
  custom: {
    50: '#dcb0e6',
    500: '#cc8fdb',
    950: '#000000',
  },
}
SCSS
$custom: #cc8fdb;
$custom-light: #dcb0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8fdb",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 288.158,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73611,
    "c": 0.12521,
    "h": 319.6
  },
  "luminance": 0.37597
}

Semantic roles & 50–950 ramp

primary
#CC8FDB
secondary
#DDEDD9
accent
#BF2745
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC8FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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