#CC95FD#CC95FD

#CC95FD is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.2% C 0.154 H 307.5°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CC95FD
RGBrgb(204, 149, 253)
HSLhsl(272, 96%, 79%)
HSVhsv(272, 41%, 99%)
CMYKcmyk(19.4%, 41.1%, 0%, 0.8%)
CIE-LABlab(70.47, 39.79, -44.07)
CIE-LCHlch(70.47, 59.38, 312.07°)
OKLaboklab(76.15% 0.0938 -0.1225)
OKLCHoklch(76.15% 0.154 307.5)
XYZxyz(53.3755, 41.4246, 98.0933)
Luminance0.4142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC95FD #C6FD95
analogous
#9895FD #CC95FD #FD95FA
triadic
#CC95FD #FDCC95 #95FDCC
tetradic
#CC95FD #FD9895 #C6FD95 #95FAFD
square
#CC95FD #FD9895 #C6FD95 #95FAFD
split-complementary
#CC95FD #FAFD95 #95FD98
monochromatic
#921DFB #AF59FC #CC95FD #E9D1FE #F1E1FE

Accessibility & contrast

On white

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

On black

9.28
#CC95FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC95FD
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC95FD#FFFFFF#000000##000000
##CC95FD1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#C5A5BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cc95fd;
/* rgb */ color: rgb(204, 149, 253);
/* oklch */ color: oklch(76.2% 0.154 307.5);
Tailwind
colors: {
  custom: {
    50: '#ddb5fe',
    500: '#cc95fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc95fd;
$custom-light: #ddb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc95fd",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 253
  },
  "hsl": {
    "h": 271.731,
    "s": 96.296,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76154,
    "c": 0.15427,
    "h": 307.5
  },
  "luminance": 0.41424
}

Semantic roles & 50–950 ramp

primary
#CC95FD
secondary
#E5F7D4
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC95FD

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

Preview Lab → · Contrast checker → · Palette generator →

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