#CC95EE#CC95EE

#CC95EE is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.5% C 0.136 H 311.8°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CC95EE
RGBrgb(204, 149, 238)
HSLhsl(277, 72%, 76%)
HSVhsv(277, 37%, 93%)
CMYKcmyk(14.3%, 37.4%, 0%, 6.7%)
CIE-LABlab(69.83, 36.56, -36.89)
CIE-LCHlch(69.83, 51.94, 314.74°)
OKLaboklab(75.46% 0.0909 -0.1018)
OKLCHoklch(75.46% 0.136 311.8)
XYZxyz(51.0792, 40.5061, 86.0000)
Luminance0.4051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC95EE #B7EE95
analogous
#9F95EE #CC95EE #EE95E3
triadic
#CC95EE #EECC95 #95EECC
tetradic
#CC95EE #EE9F95 #B7EE95 #95E3EE
square
#CC95EE #EE9F95 #B7EE95 #95E3EE
split-complementary
#CC95EE #E3EE95 #95EE9F
monochromatic
#992CDD #B360E6 #CC95EE #E5CAF6 #F2E5FB

Accessibility & contrast

On white

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

On black

9.10
#CC95EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC95EE
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC95EE#FFFFFF#000000##000000
##CC95EE1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F1
Deuteranopia (green-blind)
#92ACEB
Tritanopia (blue-blind)
#C9A1B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc95ee;
/* rgb */ color: rgb(204, 149, 238);
/* oklch */ color: oklch(75.5% 0.136 311.8);
Tailwind
colors: {
  custom: {
    50: '#ddb5f4',
    500: '#cc95ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc95ee;
$custom-light: #ddb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc95ee",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 238
  },
  "hsl": {
    "h": 277.079,
    "s": 72.358,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75456,
    "c": 0.13648,
    "h": 311.8
  },
  "luminance": 0.40505
}

Semantic roles & 50–950 ramp

primary
#CC95EE
secondary
#E2F2D9
accent
#D4115C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC95EE

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

Preview Lab → · Contrast checker → · Palette generator →

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