#CC95DD#CC95DD

#CC95DD is a light, moderate purple. Relative luminance 0.396; OKLCH L 74.7% C 0.117 H 318.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CC95DD
RGBrgb(204, 149, 221)
HSLhsl(286, 51%, 73%)
HSVhsv(286, 33%, 87%)
CMYKcmyk(7.7%, 32.6%, 0%, 13.3%)
CIE-LABlab(69.15, 33.07, -28.60)
CIE-LCHlch(69.15, 43.72, 319.14°)
OKLaboklab(74.72% 0.0869 -0.0782)
OKLCHoklch(74.72% 0.117 318)
XYZxyz(48.6986, 39.5539, 73.4619)
Luminance0.3955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC95DD #A6DD95
analogous
#A895DD #CC95DD #DD95CA
triadic
#CC95DD #DDCC95 #95DDCC
tetradic
#CC95DD #DDA895 #A6DD95 #95CADD
square
#CC95DD #DDA895 #A6DD95 #95CADD
split-complementary
#CC95DD #CADD95 #95DDA8
monochromatic
#9D3CBB #B667CE #CC95DD #E2C3EC #F4E8F8

Accessibility & contrast

On white

2.36
#CC95DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CC95DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC95DD
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC95DD#FFFFFF#000000##000000
##CC95DD1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA5E0
Deuteranopia (green-blind)
#98ABDB
Tritanopia (blue-blind)
#CC9DAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc95dd;
/* rgb */ color: rgb(204, 149, 221);
/* oklch */ color: oklch(74.7% 0.117 318.0);
Tailwind
colors: {
  custom: {
    50: '#dcb5e7',
    500: '#cc95dd',
    950: '#000000',
  },
}
SCSS
$custom: #cc95dd;
$custom-light: #dcb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc95dd",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 221
  },
  "hsl": {
    "h": 285.833,
    "s": 51.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74719,
    "c": 0.1169,
    "h": 318
  },
  "luminance": 0.39553
}

Semantic roles & 50–950 ramp

primary
#CC95DD
secondary
#E1EFDC
accent
#BF274B
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC95DD

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

Preview Lab → · Contrast checker → · Palette generator →

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