#CC9FFD#CC9FFD

#CC9FFD is a light, vivid violet. Relative luminance 0.447; OKLCH L 77.8% C 0.138 H 305.4°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#CC9FFD
RGBrgb(204, 159, 253)
HSLhsl(269, 96%, 81%)
HSVhsv(269, 37%, 99%)
CMYKcmyk(19.4%, 37.2%, 0%, 0.8%)
CIE-LABlab(72.71, 34.35, -40.57)
CIE-LCHlch(72.71, 53.16, 310.25°)
OKLaboklab(77.85% 0.08 -0.1124)
OKLCHoklch(77.85% 0.138 305.4)
XYZxyz(55.0260, 44.7258, 98.6435)
Luminance0.4472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9FFD #D0FD9F
analogous
#9FA1FD #CC9FFD #FB9FFD
triadic
#CC9FFD #FDCC9F #9FFDCC
tetradic
#CC9FFD #FD9FA1 #D0FD9F #9FFDFB
square
#CC9FFD #FD9FA1 #D0FD9F #9FFDFB
split-complementary
#CC9FFD #FDFB9F #A1FD9F
monochromatic
#8C27FB #AC63FC #CC9FFD #ECDBFE #EFE1FE

Accessibility & contrast

On white

2.11
#CC9FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#CC9FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9FFD
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9FFD#FFFFFF#000000##000000
##CC9FFD1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#94B3FA
Tritanopia (blue-blind)
#C5ADC2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cc9ffd;
/* rgb */ color: rgb(204, 159, 253);
/* oklch */ color: oklch(77.8% 0.138 305.4);
Tailwind
colors: {
  custom: {
    50: '#ddbcfe',
    500: '#cc9ffd',
    950: '#000000',
  },
}
SCSS
$custom: #cc9ffd;
$custom-light: #ddbcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9ffd",
  "rgb": {
    "r": 204,
    "g": 159,
    "b": 253
  },
  "hsl": {
    "h": 268.723,
    "s": 95.918,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77846,
    "c": 0.13797,
    "h": 305.4
  },
  "luminance": 0.44725
}

Semantic roles & 50–950 ramp

primary
#CC9FFD
secondary
#E6F7D4
accent
#E60078
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CC9FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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