#CC9FEB#CC9FEB

#CC9FEB is a light, moderate violet. Relative luminance 0.436; OKLCH L 77.1% C 0.116 H 310.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CC9FEB
RGBrgb(204, 159, 235)
HSLhsl(276, 66%, 77%)
HSVhsv(276, 32%, 92%)
CMYKcmyk(13.2%, 32.3%, 0%, 7.8%)
CIE-LABlab(71.98, 30.47, -31.92)
CIE-LCHlch(71.98, 44.13, 313.67°)
OKLaboklab(77.05% 0.0759 -0.0876)
OKLCHoklch(77.05% 0.116 310.9)
XYZxyz(52.2928, 43.6325, 84.2483)
Luminance0.4363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9FEB #BEEB9F
analogous
#A69FEB #CC9FEB #EB9FE4
triadic
#CC9FEB #EBCC9F #9FEBCC
tetradic
#CC9FEB #EBA69F #BEEB9F #9FE4EB
square
#CC9FEB #EBA69F #BEEB9F #9FE4EB
split-complementary
#CC9FEB #E4EB9F #9FEBA6
monochromatic
#963AD6 #B16CE0 #CC9FEB #E7D2F6 #F2E6FA

Accessibility & contrast

On white

2.16
#CC9FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#CC9FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9FEB
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9FEB#FFFFFF#000000##000000
##CC9FEB1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEEE
Deuteranopia (green-blind)
#9CB1E9
Tritanopia (blue-blind)
#C9A9BB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cc9feb;
/* rgb */ color: rgb(204, 159, 235);
/* oklch */ color: oklch(77.1% 0.116 310.9);
Tailwind
colors: {
  custom: {
    50: '#dcbcf1',
    500: '#cc9feb',
    950: '#000000',
  },
}
SCSS
$custom: #cc9feb;
$custom-light: #dcbcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9feb",
  "rgb": {
    "r": 204,
    "g": 159,
    "b": 235
  },
  "hsl": {
    "h": 275.526,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77052,
    "c": 0.11591,
    "h": 310.9
  },
  "luminance": 0.43632
}

Semantic roles & 50–950 ramp

primary
#CC9FEB
secondary
#E3F1DA
accent
#CD1862
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CC9FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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