#CC96EB#CC96EB

#CC96EB is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.5% C 0.131 H 312.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#CC96EB
RGBrgb(204, 150, 235)
HSLhsl(278, 68%, 75%)
HSVhsv(278, 36%, 92%)
CMYKcmyk(13.2%, 36.2%, 0%, 7.8%)
CIE-LABlab(69.93, 35.39, -35.09)
CIE-LCHlch(69.93, 49.84, 315.24°)
OKLaboklab(75.49% 0.0888 -0.0967)
OKLCHoklch(75.49% 0.131 312.6)
XYZxyz(50.8011, 40.6491, 83.7510)
Luminance0.4065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96EB #B5EB96
analogous
#A196EB #CC96EB #EB96DF
triadic
#CC96EB #EBCC96 #96EBCC
tetradic
#CC96EB #EBA196 #B5EB96 #96DFEB
square
#CC96EB #EBA196 #B5EB96 #96DFEB
split-complementary
#CC96EB #DFEB96 #96EBA1
monochromatic
#9A2FD7 #B363E1 #CC96EB #E5C9F5 #F3E5FA

Accessibility & contrast

On white

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

On black

9.13
#CC96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96EB
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96EB#FFFFFF#000000##000000
##CC96EB1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EE
Deuteranopia (green-blind)
#94ACE8
Tritanopia (blue-blind)
#C9A2B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc96eb;
/* rgb */ color: rgb(204, 150, 235);
/* oklch */ color: oklch(75.5% 0.131 312.6);
Tailwind
colors: {
  custom: {
    50: '#dcb5f1',
    500: '#cc96eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc96eb;
$custom-light: #dcb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96eb",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 278.118,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75492,
    "c": 0.13127,
    "h": 312.6
  },
  "luminance": 0.40648
}

Semantic roles & 50–950 ramp

primary
#CC96EB
secondary
#E2F2D9
accent
#D0165A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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