#CC96FB#CC96FB

#CC96FB is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.2% C 0.150 H 307.8°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#CC96FB
RGBrgb(204, 150, 251)
HSLhsl(272, 93%, 79%)
HSVhsv(272, 40%, 98%)
CMYKcmyk(18.7%, 40.2%, 0%, 1.6%)
CIE-LABlab(70.61, 38.81, -42.78)
CIE-LCHlch(70.61, 57.76, 312.21°)
OKLaboklab(76.22% 0.0921 -0.1187)
OKLCHoklch(76.22% 0.15 307.8)
XYZxyz(53.2174, 41.6156, 96.4772)
Luminance0.4162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96FB #C5FB96
analogous
#9996FB #CC96FB #FB96F8
triadic
#CC96FB #FBCC96 #96FBCC
tetradic
#CC96FB #FB9996 #C5FB96 #96F8FB
square
#CC96FB #FB9996 #C5FB96 #96F8FB
split-complementary
#CC96FB #F8FB96 #96FB99
monochromatic
#9320F7 #AF5BF9 #CC96FB #E9D1FD #F1E2FE

Accessibility & contrast

On white

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

On black

9.32
#CC96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96FB
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96FB#FFFFFF#000000##000000
##CC96FB1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#8DADF8
Tritanopia (blue-blind)
#C6A6BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cc96fb;
/* rgb */ color: rgb(204, 150, 251);
/* oklch */ color: oklch(76.2% 0.150 307.8);
Tailwind
colors: {
  custom: {
    50: '#ddb5fd',
    500: '#cc96fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc96fb;
$custom-light: #ddb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96fb",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 272.079,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76225,
    "c": 0.15025,
    "h": 307.8
  },
  "luminance": 0.41615
}

Semantic roles & 50–950 ramp

primary
#CC96FB
secondary
#E4F6D5
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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