#CC9FEE#CC9FEE

#CC9FEE is a light, moderate violet. Relative luminance 0.438; OKLCH L 77.2% C 0.120 H 309.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#CC9FEE
RGBrgb(204, 159, 238)
HSLhsl(274, 70%, 78%)
HSVhsv(274, 33%, 93%)
CMYKcmyk(14.3%, 33.2%, 0%, 6.7%)
CIE-LABlab(72.10, 31.10, -33.37)
CIE-LCHlch(72.10, 45.62, 312.99°)
OKLaboklab(77.18% 0.0766 -0.0918)
OKLCHoklch(77.18% 0.12 309.8)
XYZxyz(52.7298, 43.8073, 86.5502)
Luminance0.4381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9FEE #C1EE9F
analogous
#A49FEE #CC9FEE #EE9FE9
triadic
#CC9FEE #EECC9F #9FEECC
tetradic
#CC9FEE #EEA49F #C1EE9F #9FE9EE
square
#CC9FEE #EEA49F #C1EE9F #9FE9EE
split-complementary
#CC9FEE #E9EE9F #9FEEA4
monochromatic
#9537DC #B06BE5 #CC9FEE #E8D3F7 #F1E5FA

Accessibility & contrast

On white

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

On black

9.76
#CC9FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9FEE
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9FEE#FFFFFF#000000##000000
##CC9FEE1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AFF1
Deuteranopia (green-blind)
#9AB2EC
Tritanopia (blue-blind)
#C8AABC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cc9fee;
/* rgb */ color: rgb(204, 159, 238);
/* oklch */ color: oklch(77.2% 0.120 309.8);
Tailwind
colors: {
  custom: {
    50: '#dcbcf3',
    500: '#cc9fee',
    950: '#000000',
  },
}
SCSS
$custom: #cc9fee;
$custom-light: #dcbcf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9fee",
  "rgb": {
    "r": 204,
    "g": 159,
    "b": 238
  },
  "hsl": {
    "h": 274.177,
    "s": 69.912,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7718,
    "c": 0.11955,
    "h": 309.8
  },
  "luminance": 0.43807
}

Semantic roles & 50–950 ramp

primary
#CC9FEE
secondary
#E4F2D9
accent
#D21466
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CC9FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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