#CC91DD#CC91DD

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

Color values

HEX#CC91DD
RGBrgb(204, 145, 221)
HSLhsl(287, 53%, 72%)
HSVhsv(287, 34%, 87%)
CMYKcmyk(7.7%, 34.4%, 0%, 13.3%)
CIE-LABlab(68.25, 35.24, -29.99)
CIE-LCHlch(68.25, 46.28, 319.60°)
OKLaboklab(74.04% 0.0928 -0.0821)
OKLCHoklch(74.04% 0.124 318.5)
XYZxyz(48.0766, 38.3099, 73.2546)
Luminance0.3831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91DD #A2DD91
analogous
#A691DD #CC91DD #DD91C8
triadic
#CC91DD #DDCC91 #91DDCC
tetradic
#CC91DD #DDA691 #A2DD91 #91C8DD
square
#CC91DD #DDA691 #A2DD91 #91C8DD
split-complementary
#CC91DD #C8DD91 #91DDA6
monochromatic
#9D3ABA #B662CF #CC91DD #E2C0EB #F4E8F8

Accessibility & contrast

On white

2.42
#CC91DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#CC91DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91DD
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91DD#FFFFFF#000000##000000
##CC91DD1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2E0
Deuteranopia (green-blind)
#95A8DB
Tritanopia (blue-blind)
#CC9AAD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cc91dd;
/* rgb */ color: rgb(204, 145, 221);
/* oklch */ color: oklch(74.0% 0.124 318.5);
Tailwind
colors: {
  custom: {
    50: '#dcb2e7',
    500: '#cc91dd',
    950: '#000000',
  },
}
SCSS
$custom: #cc91dd;
$custom-light: #dcb2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91dd",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 221
  },
  "hsl": {
    "h": 286.579,
    "s": 52.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74035,
    "c": 0.12391,
    "h": 318.5
  },
  "luminance": 0.38309
}

Semantic roles & 50–950 ramp

primary
#CC91DD
secondary
#E0EFDB
accent
#C02548
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC91DD

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

Preview Lab → · Contrast checker → · Palette generator →

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