#CC8CED#CC8CED

#CC8CED is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.9% C 0.150 H 313.5°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#CC8CED
RGBrgb(204, 140, 237)
HSLhsl(280, 73%, 74%)
HSVhsv(280, 41%, 93%)
CMYKcmyk(13.9%, 40.9%, 0%, 7.1%)
CIE-LABlab(67.81, 41.22, -39.50)
CIE-LCHlch(67.81, 57.09, 316.22°)
OKLaboklab(73.92% 0.1035 -0.1092)
OKLCHoklch(73.92% 0.15 313.5)
XYZxyz(49.5635, 37.7090, 84.7720)
Luminance0.3771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CED #ADED8C
analogous
#9C8CED #CC8CED #ED8CDD
triadic
#CC8CED #EDCC8C #8CEDCC
tetradic
#CC8CED #ED9C8C #ADED8C #8CDDED
square
#CC8CED #ED9C8C #ADED8C #8CDDED
split-complementary
#CC8CED #DDED8C #8CED9C
monochromatic
#9D22DC #B557E5 #CC8CED #E3C1F5 #F3E5FB

Accessibility & contrast

On white

2.46
#CC8CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#CC8CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CED
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CED#FFFFFF#000000##000000
##CC8CED1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F1
Deuteranopia (green-blind)
#8AA7EA
Tritanopia (blue-blind)
#C99AB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8ced;
/* rgb */ color: rgb(204, 140, 237);
/* oklch */ color: oklch(73.9% 0.150 313.5);
Tailwind
colors: {
  custom: {
    50: '#ddaff3',
    500: '#cc8ced',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ced;
$custom-light: #ddaff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ced",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 279.588,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73917,
    "c": 0.15047,
    "h": 313.5
  },
  "luminance": 0.37708
}

Semantic roles & 50–950 ramp

primary
#CC8CED
secondary
#E1F3D8
accent
#D51053
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CC8CED

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

Preview Lab → · Contrast checker → · Palette generator →

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