#CC96DF#CC96DF

#CC96DF is a light, moderate purple. Relative luminance 0.400; OKLCH L 75.0% C 0.117 H 317.1°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CC96DF
RGBrgb(204, 150, 223)
HSLhsl(284, 53%, 73%)
HSVhsv(284, 33%, 87%)
CMYKcmyk(8.5%, 32.7%, 0%, 12.5%)
CIE-LABlab(69.45, 32.92, -29.24)
CIE-LCHlch(69.45, 44.03, 318.39°)
OKLaboklab(74.98% 0.086 -0.08)
OKLCHoklch(74.98% 0.117 317.1)
XYZxyz(49.1255, 39.9789, 74.9266)
Luminance0.3998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96DF #A9DF96
analogous
#A796DF #CC96DF #DF96CD
triadic
#CC96DF #DFCC96 #96DFCC
tetradic
#CC96DF #DFA796 #A9DF96 #96CDDF
square
#CC96DF #DFA796 #A9DF96 #96CDDF
split-complementary
#CC96DF #CDDF96 #96DFA7
monochromatic
#9D3BC0 #B567D1 #CC96DF #E3C5ED #F4E8F8

Accessibility & contrast

On white

2.33
#CC96DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CC96DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96DF
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96DF#FFFFFF#000000##000000
##CC96DF1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA6E2
Deuteranopia (green-blind)
#98ABDD
Tritanopia (blue-blind)
#CC9FB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc96df;
/* rgb */ color: rgb(204, 150, 223);
/* oklch */ color: oklch(75.0% 0.117 317.1);
Tailwind
colors: {
  custom: {
    50: '#dcb5e9',
    500: '#cc96df',
    950: '#000000',
  },
}
SCSS
$custom: #cc96df;
$custom-light: #dcb5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96df",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 284.384,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74975,
    "c": 0.11741,
    "h": 317.1
  },
  "luminance": 0.39978
}

Semantic roles & 50–950 ramp

primary
#CC96DF
secondary
#E1EFDC
accent
#C1254D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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