#CC95EC#CC95EC

#CC95EC is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.4% C 0.134 H 312.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#CC95EC
RGBrgb(204, 149, 236)
HSLhsl(278, 70%, 75%)
HSVhsv(278, 37%, 93%)
CMYKcmyk(13.6%, 36.9%, 0%, 7.5%)
CIE-LABlab(69.75, 36.14, -35.93)
CIE-LCHlch(69.75, 50.96, 315.17°)
OKLaboklab(75.37% 0.0905 -0.099)
OKLCHoklch(75.37% 0.134 312.4)
XYZxyz(50.7871, 40.3893, 84.4611)
Luminance0.4039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC95EC #B5EC95
analogous
#A095EC #CC95EC #EC95E0
triadic
#CC95EC #ECCC95 #95ECCC
tetradic
#CC95EC #ECA095 #B5EC95 #95E0EC
square
#CC95EC #ECA095 #B5EC95 #95E0EC
split-complementary
#CC95EC #E0EC95 #95ECA0
monochromatic
#9A2DD9 #B361E3 #CC95EC #E5C9F5 #F3E5FA

Accessibility & contrast

On white

2.31
#CC95EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#CC95EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC95EC
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC95EC#FFFFFF#000000##000000
##CC95EC1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#92ACE9
Tritanopia (blue-blind)
#C9A1B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc95ec;
/* rgb */ color: rgb(204, 149, 236);
/* oklch */ color: oklch(75.4% 0.134 312.4);
Tailwind
colors: {
  custom: {
    50: '#dcb5f2',
    500: '#cc95ec',
    950: '#000000',
  },
}
SCSS
$custom: #cc95ec;
$custom-light: #dcb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc95ec",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 277.931,
    "s": 69.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75367,
    "c": 0.13413,
    "h": 312.4
  },
  "luminance": 0.40388
}

Semantic roles & 50–950 ramp

primary
#CC95EC
secondary
#E2F2D9
accent
#D2145A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC95EC

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

Preview Lab → · Contrast checker → · Palette generator →

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