#CC95FF#CC95FF

#CC95FF is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.3% C 0.157 H 307.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CC95FF
RGBrgb(204, 149, 255)
HSLhsl(271, 100%, 79%)
HSVhsv(271, 42%, 100%)
CMYKcmyk(20%, 41.6%, 0%, 0%)
CIE-LABlab(70.56, 40.23, -45.02)
CIE-LCHlch(70.56, 60.37, 311.78°)
OKLaboklab(76.25% 0.0942 -0.1252)
OKLCHoklch(76.25% 0.157 307)
XYZxyz(53.6957, 41.5527, 99.7801)
Luminance0.4155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC95FF #C8FF95
analogous
#9795FF #CC95FF #FF95FD
triadic
#CC95FF #FFCC95 #95FFCC
tetradic
#CC95FF #FF9795 #C8FF95 #95FDFF
square
#CC95FF #FF9795 #C8FF95 #95FDFF
split-complementary
#CC95FF #FDFF95 #95FF97
monochromatic
#911BFF #AF58FF #CC95FF #E9D2FF #F0E0FF

Accessibility & contrast

On white

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

On black

9.31
#CC95FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC95FF
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC95FF#FFFFFF#000000##000000
##CC95FF1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DABFF
Deuteranopia (green-blind)
#8AADFC
Tritanopia (blue-blind)
#C5A6BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cc95ff;
/* rgb */ color: rgb(204, 149, 255);
/* oklch */ color: oklch(76.3% 0.157 307.0);
Tailwind
colors: {
  custom: {
    50: '#ddb5ff',
    500: '#cc95ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc95ff;
$custom-light: #ddb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc95ff",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 271.132,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7625,
    "c": 0.15667,
    "h": 307
  },
  "luminance": 0.41552
}

Semantic roles & 50–950 ramp

primary
#CC95FF
secondary
#E5F7D4
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC95FF

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

Preview Lab → · Contrast checker → · Palette generator →

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