#CC8DF9#CC8DF9

#CC8DF9 is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.7% C 0.163 H 309.8°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#CC8DF9
RGBrgb(204, 141, 249)
HSLhsl(275, 90%, 76%)
HSVhsv(275, 43%, 98%)
CMYKcmyk(18.1%, 43.4%, 0%, 2.4%)
CIE-LABlab(68.55, 43.23, -44.90)
CIE-LCHlch(68.55, 62.33, 313.91°)
OKLaboklab(74.65% 0.1042 -0.1248)
OKLCHoklch(74.65% 0.163 309.8)
XYZxyz(51.5224, 38.7274, 94.3651)
Luminance0.3873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8DF9 #BAF98D
analogous
#968DF9 #CC8DF9 #F98DF0
triadic
#CC8DF9 #F9CC8D #8DF9CC
tetradic
#CC8DF9 #F9968D #BAF98D #8DF0F9
square
#CC8DF9 #F9968D #BAF98D #8DF0F9
split-complementary
#CC8DF9 #F0F98D #8DF996
monochromatic
#9819F3 #B253F6 #CC8DF9 #E6C7FC #F2E2FD

Accessibility & contrast

On white

2.40
#CC8DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#CC8DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8DF9
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8DF9#FFFFFF#000000##000000
##CC8DF91.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FD
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#C79EB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc8df9;
/* rgb */ color: rgb(204, 141, 249);
/* oklch */ color: oklch(74.7% 0.163 309.8);
Tailwind
colors: {
  custom: {
    50: '#ddaffb',
    500: '#cc8df9',
    950: '#000000',
  },
}
SCSS
$custom: #cc8df9;
$custom-light: #ddaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8df9",
  "rgb": {
    "r": 204,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 275,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74653,
    "c": 0.16258,
    "h": 309.8
  },
  "luminance": 0.38727
}

Semantic roles & 50–950 ramp

primary
#CC8DF9
secondary
#E3F6D5
accent
#E60060
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC8DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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