#CC91CC#CC91CC

#CC91CC is a light, moderate purple. Relative luminance 0.374; OKLCH L 73.3% C 0.106 H 326.6°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#CC91CC
RGBrgb(204, 145, 204)
HSLhsl(300, 37%, 68%)
HSVhsv(300, 29%, 80%)
CMYKcmyk(0%, 28.9%, 0%, 20%)
CIE-LABlab(67.61, 31.95, -21.54)
CIE-LCHlch(67.61, 38.54, 326.01°)
OKLaboklab(73.34% 0.0883 -0.0583)
OKLCHoklch(73.34% 0.106 326.6)
XYZxyz(45.9253, 37.4493, 61.9243)
Luminance0.3745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91CC #91CC91
analogous
#AE91CC #CC91CC #CC91AE
triadic
#CC91CC #CCCC91 #91CCCC
tetradic
#CC91CC #CCAE91 #91CC91 #91AECC
square
#CC91CC #CCAE91 #91CC91 #91AECC
split-complementary
#CC91CC #AECC91 #91CCAE
monochromatic
#9B489B #B967B9 #CC91CC #DFBBDF #F3E5F3

Accessibility & contrast

On white

2.47
#CC91CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CC91CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91CC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91CC#FFFFFF#000000##000000
##CC91CC1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CE
Deuteranopia (green-blind)
#9BA7CA
Tritanopia (blue-blind)
#D096A6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc91cc;
/* rgb */ color: rgb(204, 145, 204);
/* oklch */ color: oklch(73.3% 0.106 326.6);
Tailwind
colors: {
  custom: {
    50: '#dcb2db',
    500: '#cc91cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc91cc;
$custom-light: #dcb2db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91cc",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 36.646,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73342,
    "c": 0.10582,
    "h": 326.6
  },
  "luminance": 0.37448
}

Semantic roles & 50–950 ramp

primary
#CC91CC
secondary
#D4E5D4
accent
#B03636
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CC91CC

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

Preview Lab → · Contrast checker → · Palette generator →

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