#CC96FF#CC96FF

#CC96FF is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.4% C 0.155 H 306.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#CC96FF
RGBrgb(204, 150, 255)
HSLhsl(271, 100%, 79%)
HSVhsv(271, 41%, 100%)
CMYKcmyk(20%, 41.2%, 0%, 0%)
CIE-LABlab(70.78, 39.69, -44.67)
CIE-LCHlch(70.78, 59.76, 311.62°)
OKLaboklab(76.42% 0.0928 -0.1242)
OKLCHoklch(76.42% 0.155 306.8)
XYZxyz(53.8546, 41.8705, 99.8330)
Luminance0.4187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96FF #C9FF96
analogous
#9896FF #CC96FF #FF96FE
triadic
#CC96FF #FFCC96 #96FFCC
tetradic
#CC96FF #FF9896 #C9FF96 #96FEFF
square
#CC96FF #FF9896 #C9FF96 #96FEFF
split-complementary
#CC96FF #FEFF96 #96FF98
monochromatic
#911CFF #AE59FF #CC96FF #EAD3FF #F0E0FF

Accessibility & contrast

On white

2.24
#CC96FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#CC96FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96FF
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96FF#FFFFFF#000000##000000
##CC96FF1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#8BAEFC
Tritanopia (blue-blind)
#C5A7BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cc96ff;
/* rgb */ color: rgb(204, 150, 255);
/* oklch */ color: oklch(76.4% 0.155 306.8);
Tailwind
colors: {
  custom: {
    50: '#ddb5ff',
    500: '#cc96ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc96ff;
$custom-light: #ddb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96ff",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 270.857,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76416,
    "c": 0.15505,
    "h": 306.8
  },
  "luminance": 0.4187
}

Semantic roles & 50–950 ramp

primary
#CC96FF
secondary
#E5F7D4
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC96FF

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

Preview Lab → · Contrast checker → · Palette generator →

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