#CC95EB#CC95EB

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

Color values

HEX#CC95EB
RGBrgb(204, 149, 235)
HSLhsl(278, 68%, 75%)
HSVhsv(278, 37%, 92%)
CMYKcmyk(13.2%, 36.6%, 0%, 7.8%)
CIE-LABlab(69.70, 35.93, -35.44)
CIE-LCHlch(69.70, 50.47, 315.39°)
OKLaboklab(75.32% 0.0903 -0.0976)
OKLCHoklch(75.32% 0.133 312.7)
XYZxyz(50.6422, 40.3313, 83.6981)
Luminance0.4033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC95EB #B4EB95
analogous
#A195EB #CC95EB #EB95DF
triadic
#CC95EB #EBCC95 #95EBCC
tetradic
#CC95EB #EBA195 #B4EB95 #95DFEB
square
#CC95EB #EBA195 #B4EB95 #95DFEB
split-complementary
#CC95EB #DFEB95 #95EBA1
monochromatic
#9A2ED8 #B362E1 #CC95EB #E5C8F5 #F3E5FA

Accessibility & contrast

On white

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

On black

9.07
#CC95EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC95EB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC95EB#FFFFFF#000000##000000
##CC95EB1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7EE
Deuteranopia (green-blind)
#93ACE8
Tritanopia (blue-blind)
#C9A1B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc95eb;
/* rgb */ color: rgb(204, 149, 235);
/* oklch */ color: oklch(75.3% 0.133 312.7);
Tailwind
colors: {
  custom: {
    50: '#dcb5f1',
    500: '#cc95eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc95eb;
$custom-light: #dcb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc95eb",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 278.372,
    "s": 68.254,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75322,
    "c": 0.13297,
    "h": 312.7
  },
  "luminance": 0.4033
}

Semantic roles & 50–950 ramp

primary
#CC95EB
secondary
#E2F2D9
accent
#D01559
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC95EB

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

Preview Lab → · Contrast checker → · Palette generator →

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