#CC9EF6#CC9EF6

#CC9EF6 is a light, vivid violet. Relative luminance 0.439; OKLCH L 77.4% C 0.131 H 307.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#CC9EF6
RGBrgb(204, 158, 246)
HSLhsl(271, 83%, 79%)
HSVhsv(271, 36%, 96%)
CMYKcmyk(17.1%, 35.8%, 0%, 3.5%)
CIE-LABlab(72.19, 33.36, -37.58)
CIE-LCHlch(72.19, 50.26, 311.60°)
OKLaboklab(77.36% 0.0799 -0.1038)
OKLCHoklch(77.36% 0.131 307.6)
XYZxyz(53.7601, 43.9454, 92.8211)
Luminance0.4395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9EF6 #C8F69E
analogous
#A09EF6 #CC9EF6 #F69EF4
triadic
#CC9EF6 #F6CC9E #9EF6CC
tetradic
#CC9EF6 #F6A09E #C8F69E #9EF4F6
square
#CC9EF6 #F6A09E #C8F69E #9EF4F6
split-complementary
#CC9EF6 #F4F69E #9EF6A0
monochromatic
#912EEC #AF66F1 #CC9EF6 #E9D6FB #F0E3FC

Accessibility & contrast

On white

2.15
#CC9EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#CC9EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9EF6
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9EF6#FFFFFF#000000##000000
##CC9EF61.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAFF9
Deuteranopia (green-blind)
#96B2F3
Tritanopia (blue-blind)
#C6ABBF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cc9ef6;
/* rgb */ color: rgb(204, 158, 246);
/* oklch */ color: oklch(77.4% 0.131 307.6);
Tailwind
colors: {
  custom: {
    50: '#dcbbf9',
    500: '#cc9ef6',
    950: '#000000',
  },
}
SCSS
$custom: #cc9ef6;
$custom-light: #dcbbf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9ef6",
  "rgb": {
    "r": 204,
    "g": 158,
    "b": 246
  },
  "hsl": {
    "h": 271.364,
    "s": 83.019,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77356,
    "c": 0.13099,
    "h": 307.6
  },
  "luminance": 0.43945
}

Semantic roles & 50–950 ramp

primary
#CC9EF6
secondary
#E5F4D7
accent
#DF066E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CC9EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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