#CC95EA#CC95EA

#CC95EA is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.3% C 0.132 H 313.1°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CC95EA
RGBrgb(204, 149, 234)
HSLhsl(279, 67%, 75%)
HSVhsv(279, 36%, 92%)
CMYKcmyk(12.8%, 36.3%, 0%, 8.2%)
CIE-LABlab(69.66, 35.72, -34.96)
CIE-LCHlch(69.66, 49.98, 315.62°)
OKLaboklab(75.28% 0.09 -0.0963)
OKLCHoklch(75.28% 0.132 313.1)
XYZxyz(50.4981, 40.2737, 82.9393)
Luminance0.4027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC95EA #B3EA95
analogous
#A295EA #CC95EA #EA95DD
triadic
#CC95EA #EACC95 #95EACC
tetradic
#CC95EA #EAA295 #B3EA95 #95DDEA
square
#CC95EA #EAA295 #B3EA95 #95DDEA
split-complementary
#CC95EA #DDEA95 #95EAA2
monochromatic
#9B2FD6 #B362E0 #CC95EA #E5C8F4 #F3E5FA

Accessibility & contrast

On white

2.32
#CC95EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#CC95EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC95EA
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC95EA#FFFFFF#000000##000000
##CC95EA1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7ED
Deuteranopia (green-blind)
#93ACE7
Tritanopia (blue-blind)
#CAA0B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc95ea;
/* rgb */ color: rgb(204, 149, 234);
/* oklch */ color: oklch(75.3% 0.132 313.1);
Tailwind
colors: {
  custom: {
    50: '#dcb5f1',
    500: '#cc95ea',
    950: '#000000',
  },
}
SCSS
$custom: #cc95ea;
$custom-light: #dcb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc95ea",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 278.824,
    "s": 66.929,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75278,
    "c": 0.1318,
    "h": 313.1
  },
  "luminance": 0.40273
}

Semantic roles & 50–950 ramp

primary
#CC95EA
secondary
#E2F1DA
accent
#CF1758
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC95EA

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

Preview Lab → · Contrast checker → · Palette generator →

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