#CC8DEB#CC8DEB

#CC8DEB is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.0% C 0.147 H 314.0°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CC8DEB
RGBrgb(204, 141, 235)
HSLhsl(280, 70%, 74%)
HSVhsv(280, 40%, 92%)
CMYKcmyk(13.2%, 40%, 0%, 7.8%)
CIE-LABlab(67.94, 40.26, -38.19)
CIE-LCHlch(67.94, 55.50, 316.51°)
OKLaboklab(73.99% 0.1017 -0.1055)
OKLCHoklch(73.99% 0.147 314)
XYZxyz(49.4197, 37.8863, 83.2906)
Luminance0.3789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8DEB #ACEB8D
analogous
#9D8DEB #CC8DEB #EB8DDB
triadic
#CC8DEB #EBCC8D #8DEBCC
tetradic
#CC8DEB #EB9D8D #ACEB8D #8DDBEB
square
#CC8DEB #EB9D8D #ACEB8D #8DDBEB
split-complementary
#CC8DEB #DBEB8D #8DEB9D
monochromatic
#9D26D8 #B559E2 #CC8DEB #E3C1F4 #F3E5FA

Accessibility & contrast

On white

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

On black

8.58
#CC8DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8DEB
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8DEB#FFFFFF#000000##000000
##CC8DEB1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc8deb;
/* rgb */ color: rgb(204, 141, 235);
/* oklch */ color: oklch(74.0% 0.147 314.0);
Tailwind
colors: {
  custom: {
    50: '#ddaff1',
    500: '#cc8deb',
    950: '#000000',
  },
}
SCSS
$custom: #cc8deb;
$custom-light: #ddaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8deb",
  "rgb": {
    "r": 204,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 280.213,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73987,
    "c": 0.14652,
    "h": 314
  },
  "luminance": 0.37885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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