#CC95F9#CC95F9

#CC95F9 is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.0% C 0.149 H 308.5°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#CC95F9
RGBrgb(204, 149, 249)
HSLhsl(273, 89%, 78%)
HSVhsv(273, 40%, 98%)
CMYKcmyk(18.1%, 40.2%, 0%, 2.4%)
CIE-LABlab(70.30, 38.91, -42.17)
CIE-LCHlch(70.30, 57.38, 312.70°)
OKLaboklab(75.96% 0.0931 -0.117)
OKLCHoklch(75.96% 0.15 308.5)
XYZxyz(52.7449, 41.1724, 94.7726)
Luminance0.4117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC95F9 #C2F995
analogous
#9A95F9 #CC95F9 #F995F4
triadic
#CC95F9 #F9CC95 #95F9CC
tetradic
#CC95F9 #F99A95 #C2F995 #95F4F9
square
#CC95F9 #F99A95 #C2F995 #95F4F9
split-complementary
#CC95F9 #F4F995 #95F99A
monochromatic
#9421F2 #B05BF6 #CC95F9 #E8CFFC #F1E2FD

Accessibility & contrast

On white

2.27
#CC95F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#CC95F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC95F9
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC95F9#FFFFFF#000000##000000
##CC95F91.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc95f9;
/* rgb */ color: rgb(204, 149, 249);
/* oklch */ color: oklch(76.0% 0.149 308.5);
Tailwind
colors: {
  custom: {
    50: '#ddb5fb',
    500: '#cc95f9',
    950: '#000000',
  },
}
SCSS
$custom: #cc95f9;
$custom-light: #ddb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc95f9",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 249
  },
  "hsl": {
    "h": 273,
    "s": 89.286,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75963,
    "c": 0.1495,
    "h": 308.5
  },
  "luminance": 0.41172
}

Semantic roles & 50–950 ramp

primary
#CC95F9
secondary
#E4F5D6
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC95F9

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

Preview Lab → · Contrast checker → · Palette generator →

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