#CC95EF#CC95EF

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

Color values

HEX#CC95EF
RGBrgb(204, 149, 239)
HSLhsl(277, 74%, 76%)
HSVhsv(277, 38%, 94%)
CMYKcmyk(14.6%, 37.7%, 0%, 6.3%)
CIE-LABlab(69.87, 36.77, -37.38)
CIE-LCHlch(69.87, 52.43, 314.53°)
OKLaboklab(75.5% 0.0911 -0.1032)
OKLCHoklch(75.5% 0.138 311.4)
XYZxyz(51.2266, 40.5651, 86.7759)
Luminance0.4056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC95EF #B8EF95
analogous
#9F95EF #CC95EF #EF95E5
triadic
#CC95EF #EFCC95 #95EFCC
tetradic
#CC95EF #EF9F95 #B8EF95 #95E5EF
square
#CC95EF #EF9F95 #B8EF95 #95E5EF
split-complementary
#CC95EF #E5EF95 #95EF9F
monochromatic
#992BDF #B260E7 #CC95EF #E6CAF7 #F2E4FB

Accessibility & contrast

On white

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

On black

9.11
#CC95EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC95EF
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC95EF#FFFFFF#000000##000000
##CC95EF1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#C8A2B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc95ef;
/* rgb */ color: rgb(204, 149, 239);
/* oklch */ color: oklch(75.5% 0.138 311.4);
Tailwind
colors: {
  custom: {
    50: '#ddb5f4',
    500: '#cc95ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc95ef;
$custom-light: #ddb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc95ef",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 276.667,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75501,
    "c": 0.13766,
    "h": 311.4
  },
  "luminance": 0.40564
}

Semantic roles & 50–950 ramp

primary
#CC95EF
secondary
#E3F3D8
accent
#D6105D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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