#CC9EFD#CC9EFD

#CC9EFD is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.7% C 0.140 H 305.7°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#CC9EFD
RGBrgb(204, 158, 253)
HSLhsl(269, 96%, 81%)
HSVhsv(269, 38%, 99%)
CMYKcmyk(19.4%, 37.5%, 0%, 0.8%)
CIE-LABlab(72.48, 34.89, -40.93)
CIE-LCHlch(72.48, 53.78, 310.45°)
OKLaboklab(77.67% 0.0814 -0.1134)
OKLCHoklch(77.67% 0.14 305.7)
XYZxyz(54.8548, 44.3832, 98.5865)
Luminance0.4438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9EFD #CFFD9E
analogous
#9E9FFD #CC9EFD #FC9EFD
triadic
#CC9EFD #FDCC9E #9EFDCC
tetradic
#CC9EFD #FD9E9F #CFFD9E #9EFDFC
square
#CC9EFD #FD9E9F #CFFD9E #9EFDFC
split-complementary
#CC9EFD #FDFC9E #9FFD9E
monochromatic
#8D26FB #AC62FC #CC9EFD #ECDAFE #EFE1FE

Accessibility & contrast

On white

2.13
#CC9EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#CC9EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9EFD
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9EFD#FFFFFF#000000##000000
##CC9EFD1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#93B2FA
Tritanopia (blue-blind)
#C5ADC2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cc9efd;
/* rgb */ color: rgb(204, 158, 253);
/* oklch */ color: oklch(77.7% 0.140 305.7);
Tailwind
colors: {
  custom: {
    50: '#ddbbfe',
    500: '#cc9efd',
    950: '#000000',
  },
}
SCSS
$custom: #cc9efd;
$custom-light: #ddbbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9efd",
  "rgb": {
    "r": 204,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 269.053,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77673,
    "c": 0.1396,
    "h": 305.7
  },
  "luminance": 0.44383
}

Semantic roles & 50–950 ramp

primary
#CC9EFD
secondary
#E6F7D4
accent
#E60076
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CC9EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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