#CC96FD#CC96FD

#CC96FD is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.3% C 0.153 H 307.3°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CC96FD
RGBrgb(204, 150, 253)
HSLhsl(271, 96%, 79%)
HSVhsv(271, 41%, 99%)
CMYKcmyk(19.4%, 40.7%, 0%, 0.8%)
CIE-LABlab(70.69, 39.25, -43.73)
CIE-LCHlch(70.69, 58.76, 311.91°)
OKLaboklab(76.32% 0.0925 -0.1215)
OKLCHoklch(76.32% 0.153 307.3)
XYZxyz(53.5343, 41.7424, 98.1463)
Luminance0.4174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96FD #C7FD96
analogous
#9996FD #CC96FD #FD96FB
triadic
#CC96FD #FDCC96 #96FDCC
tetradic
#CC96FD #FD9996 #C7FD96 #96FBFD
square
#CC96FD #FD9996 #C7FD96 #96FBFD
split-complementary
#CC96FD #FBFD96 #96FD99
monochromatic
#921EFB #AF5AFC #CC96FD #E9D2FE #F0E1FE

Accessibility & contrast

On white

2.25
#CC96FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#CC96FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96FD
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96FD#FFFFFF#000000##000000
##CC96FD1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#8CAEFA
Tritanopia (blue-blind)
#C5A6BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cc96fd;
/* rgb */ color: rgb(204, 150, 253);
/* oklch */ color: oklch(76.3% 0.153 307.3);
Tailwind
colors: {
  custom: {
    50: '#ddb5fe',
    500: '#cc96fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc96fd;
$custom-light: #ddb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96fd",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 271.456,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7632,
    "c": 0.15265,
    "h": 307.3
  },
  "luminance": 0.41742
}

Semantic roles & 50–950 ramp

primary
#CC96FD
secondary
#E5F7D4
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC96FD

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

Preview Lab → · Contrast checker → · Palette generator →

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