#CC96EA#CC96EA

#CC96EA is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.4% C 0.130 H 312.9°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#CC96EA
RGBrgb(204, 150, 234)
HSLhsl(279, 67%, 75%)
HSVhsv(279, 36%, 92%)
CMYKcmyk(12.8%, 35.9%, 0%, 8.2%)
CIE-LABlab(69.89, 35.18, -34.61)
CIE-LCHlch(69.89, 49.35, 315.47°)
OKLaboklab(75.45% 0.0886 -0.0953)
OKLCHoklch(75.45% 0.13 312.9)
XYZxyz(50.6570, 40.5915, 82.9923)
Luminance0.4059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96EA #B4EA96
analogous
#A296EA #CC96EA #EA96DE
triadic
#CC96EA #EACC96 #96EACC
tetradic
#CC96EA #EAA296 #B4EA96 #96DEEA
square
#CC96EA #EAA296 #B4EA96 #96DEEA
split-complementary
#CC96EA #DEEA96 #96EAA2
monochromatic
#9A30D6 #B363E0 #CC96EA #E5C9F4 #F3E5FA

Accessibility & contrast

On white

2.30
#CC96EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#CC96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96EA
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96EA#FFFFFF#000000##000000
##CC96EA1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8ED
Deuteranopia (green-blind)
#94ACE8
Tritanopia (blue-blind)
#CAA1B5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc96ea;
/* rgb */ color: rgb(204, 150, 234);
/* oklch */ color: oklch(75.4% 0.130 312.9);
Tailwind
colors: {
  custom: {
    50: '#dcb5f1',
    500: '#cc96ea',
    950: '#000000',
  },
}
SCSS
$custom: #cc96ea;
$custom-light: #dcb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96ea",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 278.571,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75448,
    "c": 0.13009,
    "h": 312.9
  },
  "luminance": 0.40591
}

Semantic roles & 50–950 ramp

primary
#CC96EA
secondary
#E2F1DA
accent
#CF1759
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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