#CC8CF9#CC8CF9

#CC8CF9 is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.5% C 0.164 H 310.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#CC8CF9
RGBrgb(204, 140, 249)
HSLhsl(275, 90%, 76%)
HSVhsv(275, 44%, 98%)
CMYKcmyk(18.1%, 43.8%, 0%, 2.4%)
CIE-LABlab(68.34, 43.76, -45.24)
CIE-LCHlch(68.34, 62.94, 314.05°)
OKLaboklab(74.49% 0.1056 -0.1258)
OKLCHoklch(74.49% 0.164 310)
XYZxyz(51.3757, 38.4339, 94.3162)
Luminance0.3843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CF9 #B9F98C
analogous
#968CF9 #CC8CF9 #F98CF0
triadic
#CC8CF9 #F9CC8C #8CF9CC
tetradic
#CC8CF9 #F9968C #B9F98C #8CF0F9
square
#CC8CF9 #F9968C #B9F98C #8CF0F9
split-complementary
#CC8CF9 #F0F98C #8CF996
monochromatic
#9818F3 #B252F6 #CC8CF9 #E6C6FC #F2E2FD

Accessibility & contrast

On white

2.42
#CC8CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#CC8CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CF9
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CF9#FFFFFF#000000##000000
##CC8CF91.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#C79DB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc8cf9;
/* rgb */ color: rgb(204, 140, 249);
/* oklch */ color: oklch(74.5% 0.164 310.0);
Tailwind
colors: {
  custom: {
    50: '#ddaffb',
    500: '#cc8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #cc8cf9;
$custom-light: #ddaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8cf9",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 275.229,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74492,
    "c": 0.16421,
    "h": 310
  },
  "luminance": 0.38433
}

Semantic roles & 50–950 ramp

primary
#CC8CF9
secondary
#E3F6D5
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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