#CC91DC#CC91DC

#CC91DC is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.0% C 0.123 H 318.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#CC91DC
RGBrgb(204, 145, 220)
HSLhsl(287, 52%, 72%)
HSVhsv(287, 34%, 86%)
CMYKcmyk(7.3%, 34.1%, 0%, 13.7%)
CIE-LABlab(68.21, 35.05, -29.50)
CIE-LCHlch(68.21, 45.81, 319.91°)
OKLaboklab(73.99% 0.0926 -0.0807)
OKLCHoklch(73.99% 0.123 318.9)
XYZxyz(47.9438, 38.2567, 72.5550)
Luminance0.3826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91DC #A1DC91
analogous
#A791DC #CC91DC #DC91C7
triadic
#CC91DC #DCCC91 #91DCCC
tetradic
#CC91DC #DCA791 #A1DC91 #91C7DC
square
#CC91DC #DCA791 #A1DC91 #91C7DC
split-complementary
#CC91DC #C7DC91 #91DCA7
monochromatic
#9D3BB8 #B663CD #CC91DC #E2BFEB #F4E8F8

Accessibility & contrast

On white

2.43
#CC91DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#CC91DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91DC
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91DC#FFFFFF#000000##000000
##CC91DC1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DF
Deuteranopia (green-blind)
#95A8DA
Tritanopia (blue-blind)
#CD9AAD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cc91dc;
/* rgb */ color: rgb(204, 145, 220);
/* oklch */ color: oklch(74.0% 0.123 318.9);
Tailwind
colors: {
  custom: {
    50: '#dcb2e7',
    500: '#cc91dc',
    950: '#000000',
  },
}
SCSS
$custom: #cc91dc;
$custom-light: #dcb2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91dc",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 287.2,
    "s": 51.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73992,
    "c": 0.12281,
    "h": 318.9
  },
  "luminance": 0.38255
}

Semantic roles & 50–950 ramp

primary
#CC91DC
secondary
#DFEEDB
accent
#BF2647
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC91DC

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

Preview Lab → · Contrast checker → · Palette generator →

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