#CC8DEC#CC8DEC

#CC8DEC is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.0% C 0.148 H 313.6°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#CC8DEC
RGBrgb(204, 141, 236)
HSLhsl(280, 71%, 74%)
HSVhsv(280, 40%, 93%)
CMYKcmyk(13.6%, 40.3%, 0%, 7.5%)
CIE-LABlab(67.98, 40.47, -38.68)
CIE-LCHlch(67.98, 55.98, 316.30°)
OKLaboklab(74.03% 0.1019 -0.1069)
OKLCHoklch(74.03% 0.148 313.6)
XYZxyz(49.5646, 37.9443, 84.0536)
Luminance0.3794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8DEC #ADEC8D
analogous
#9D8DEC #CC8DEC #EC8DDD
triadic
#CC8DEC #ECCC8D #8DECCC
tetradic
#CC8DEC #EC9D8D #ADEC8D #8DDDEC
square
#CC8DEC #EC9D8D #ADEC8D #8DDDEC
split-complementary
#CC8DEC #DDEC8D #8DEC9D
monochromatic
#9D24DA #B559E3 #CC8DEC #E3C1F5 #F3E5FB

Accessibility & contrast

On white

2.45
#CC8DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#CC8DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8DEC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8DEC#FFFFFF#000000##000000
##CC8DEC1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EF
Deuteranopia (green-blind)
#8BA7E9
Tritanopia (blue-blind)
#CA9AB1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cc8dec;
/* rgb */ color: rgb(204, 141, 236);
/* oklch */ color: oklch(74.0% 0.148 313.6);
Tailwind
colors: {
  custom: {
    50: '#ddaff2',
    500: '#cc8dec',
    950: '#000000',
  },
}
SCSS
$custom: #cc8dec;
$custom-light: #ddaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8dec",
  "rgb": {
    "r": 204,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 279.789,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74033,
    "c": 0.14765,
    "h": 313.6
  },
  "luminance": 0.37943
}

Semantic roles & 50–950 ramp

primary
#CC8DEC
secondary
#E1F2D9
accent
#D31253
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CC8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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