#CC95FC#CC95FC

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

Color values

HEX#CC95FC
RGBrgb(204, 149, 252)
HSLhsl(272, 94%, 79%)
HSVhsv(272, 41%, 99%)
CMYKcmyk(19%, 40.9%, 0%, 1.2%)
CIE-LABlab(70.43, 39.57, -43.60)
CIE-LCHlch(70.43, 58.88, 312.23°)
OKLaboklab(76.11% 0.0937 -0.1211)
OKLCHoklch(76.11% 0.153 307.7)
XYZxyz(53.2166, 41.3611, 97.2566)
Luminance0.4136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC95FC #C5FC95
analogous
#9895FC #CC95FC #FC95F8
triadic
#CC95FC #FCCC95 #95FCCC
tetradic
#CC95FC #FC9895 #C5FC95 #95F8FC
square
#CC95FC #FC9895 #C5FC95 #95F8FC
split-complementary
#CC95FC #F8FC95 #95FC98
monochromatic
#931EF9 #AF59FA #CC95FC #E9D1FE #F1E1FE

Accessibility & contrast

On white

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

On black

9.27
#CC95FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC95FC
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC95FC#FFFFFF#000000##000000
##CC95FC1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#8BADF9
Tritanopia (blue-blind)
#C5A5BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cc95fc;
/* rgb */ color: rgb(204, 149, 252);
/* oklch */ color: oklch(76.1% 0.153 307.7);
Tailwind
colors: {
  custom: {
    50: '#ddb5fd',
    500: '#cc95fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc95fc;
$custom-light: #ddb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc95fc",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 272.039,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76106,
    "c": 0.15308,
    "h": 307.7
  },
  "luminance": 0.41361
}

Semantic roles & 50–950 ramp

primary
#CC95FC
secondary
#E4F6D5
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC95FC

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

Preview Lab → · Contrast checker → · Palette generator →

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