#CC96F2#CC96F2

#CC96F2 is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.8% C 0.140 H 310.3°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#CC96F2
RGBrgb(204, 150, 242)
HSLhsl(275, 78%, 77%)
HSVhsv(275, 38%, 95%)
CMYKcmyk(15.7%, 38%, 0%, 5.1%)
CIE-LABlab(70.22, 36.86, -38.47)
CIE-LCHlch(70.22, 53.28, 313.78°)
OKLaboklab(75.81% 0.0903 -0.1063)
OKLCHoklch(75.81% 0.14 310.3)
XYZxyz(51.8323, 41.0616, 89.1823)
Luminance0.4106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96F2 #BCF296
analogous
#9E96F2 #CC96F2 #F296EA
triadic
#CC96F2 #F2CC96 #96F2CC
tetradic
#CC96F2 #F29E96 #BCF296 #96EAF2
square
#CC96F2 #F29E96 #BCF296 #96EAF2
split-complementary
#CC96F2 #EAF296 #96F29E
monochromatic
#9729E5 #B260EB #CC96F2 #E6CCF9 #F2E4FC

Accessibility & contrast

On white

2.28
#CC96F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#CC96F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96F2
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96F2#FFFFFF#000000##000000
##CC96F21.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F5
Deuteranopia (green-blind)
#91ADEF
Tritanopia (blue-blind)
#C8A3B9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cc96f2;
/* rgb */ color: rgb(204, 150, 242);
/* oklch */ color: oklch(75.8% 0.140 310.3);
Tailwind
colors: {
  custom: {
    50: '#ddb5f6',
    500: '#cc96f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc96f2;
$custom-light: #ddb5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96f2",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 275.217,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75807,
    "c": 0.13952,
    "h": 310.3
  },
  "luminance": 0.41061
}

Semantic roles & 50–950 ramp

primary
#CC96F2
secondary
#E3F3D8
accent
#DA0B61
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CC96F2

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

Preview Lab → · Contrast checker → · Palette generator →

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