#CC96F8#CC96F8

#CC96F8 is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.1% C 0.147 H 308.6°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#CC96F8
RGBrgb(204, 150, 248)
HSLhsl(273, 88%, 78%)
HSVhsv(273, 40%, 97%)
CMYKcmyk(17.7%, 39.5%, 0%, 2.7%)
CIE-LABlab(70.47, 38.16, -41.35)
CIE-LCHlch(70.47, 56.26, 312.70°)
OKLaboklab(76.08% 0.0915 -0.1146)
OKLCHoklch(76.08% 0.147 308.6)
XYZxyz(52.7483, 41.4280, 94.0063)
Luminance0.4143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96F8 #C2F896
analogous
#9B96F8 #CC96F8 #F896F3
triadic
#CC96F8 #F8CC96 #96F8CC
tetradic
#CC96F8 #F89B96 #C2F896 #96F3F8
square
#CC96F8 #F89B96 #C2F896 #96F3F8
split-complementary
#CC96F8 #F3F896 #96F89B
monochromatic
#9423F0 #B05DF4 #CC96F8 #E8CFFC #F1E2FD

Accessibility & contrast

On white

2.26
#CC96F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#CC96F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96F8
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96F8#FFFFFF#000000##000000
##CC96F81.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFC
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#C6A5BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cc96f8;
/* rgb */ color: rgb(204, 150, 248);
/* oklch */ color: oklch(76.1% 0.147 308.6);
Tailwind
colors: {
  custom: {
    50: '#ddb5fb',
    500: '#cc96f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc96f8;
$custom-light: #ddb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96f8",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 273.061,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76084,
    "c": 0.14666,
    "h": 308.6
  },
  "luminance": 0.41427
}

Semantic roles & 50–950 ramp

primary
#CC96F8
secondary
#E4F5D6
accent
#E40167
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC96F8

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

Preview Lab → · Contrast checker → · Palette generator →

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