#CC96F9#CC96F9

#CC96F9 is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.1% C 0.148 H 308.3°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#CC96F9
RGBrgb(204, 150, 249)
HSLhsl(273, 89%, 78%)
HSVhsv(273, 40%, 98%)
CMYKcmyk(18.1%, 39.8%, 0%, 2.4%)
CIE-LABlab(70.52, 38.37, -41.82)
CIE-LCHlch(70.52, 56.76, 312.53°)
OKLaboklab(76.13% 0.0917 -0.116)
OKLCHoklch(76.13% 0.148 308.3)
XYZxyz(52.9038, 41.4902, 94.8256)
Luminance0.4149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96F9 #C3F996
analogous
#9A96F9 #CC96F9 #F996F5
triadic
#CC96F9 #F9CC96 #96F9CC
tetradic
#CC96F9 #F99A96 #C3F996 #96F5F9
square
#CC96F9 #F99A96 #C3F996 #96F5F9
split-complementary
#CC96F9 #F5F996 #96F99A
monochromatic
#9422F2 #B05CF6 #CC96F9 #E8D0FC #F1E2FD

Accessibility & contrast

On white

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

On black

9.30
#CC96F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96F9
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96F9#FFFFFF#000000##000000
##CC96F91.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFD
Deuteranopia (green-blind)
#8DADF6
Tritanopia (blue-blind)
#C6A5BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cc96f9;
/* rgb */ color: rgb(204, 150, 249);
/* oklch */ color: oklch(76.1% 0.148 308.3);
Tailwind
colors: {
  custom: {
    50: '#ddb5fb',
    500: '#cc96f9',
    950: '#000000',
  },
}
SCSS
$custom: #cc96f9;
$custom-light: #ddb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96f9",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 272.727,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7613,
    "c": 0.14786,
    "h": 308.3
  },
  "luminance": 0.4149
}

Semantic roles & 50–950 ramp

primary
#CC96F9
secondary
#E4F5D6
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC96F9

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

Preview Lab → · Contrast checker → · Palette generator →

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