#CC81EE#CC81EE

#CC81EE is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.2% C 0.170 H 314.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CC81EE
RGBrgb(204, 129, 238)
HSLhsl(281, 76%, 72%)
HSVhsv(281, 46%, 93%)
CMYKcmyk(14.3%, 45.8%, 0%, 6.7%)
CIE-LABlab(65.52, 47.28, -43.62)
CIE-LCHlch(65.52, 64.33, 317.30°)
OKLaboklab(72.22% 0.119 -0.1211)
OKLCHoklch(72.22% 0.17 314.5)
XYZxyz(48.1823, 34.7121, 85.0343)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC81EE #A3EE81
analogous
#9581EE #CC81EE #EE81DA
triadic
#CC81EE #EECC81 #81EECC
tetradic
#CC81EE #EE9581 #A3EE81 #81DAEE
square
#CC81EE #EE9581 #A3EE81 #81DAEE
split-complementary
#CC81EE #DAEE81 #81EE95
monochromatic
#9D1DD8 #B64BE7 #CC81EE #E2B7F5 #F4E4FB

Accessibility & contrast

On white

2.64
#CC81EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#CC81EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC81EE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC81EE#FFFFFF#000000##000000
##CC81EE1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF2
Deuteranopia (green-blind)
#80A1EB
Tritanopia (blue-blind)
#CA91AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc81ee;
/* rgb */ color: rgb(204, 129, 238);
/* oklch */ color: oklch(72.2% 0.170 314.5);
Tailwind
colors: {
  custom: {
    50: '#dda7f4',
    500: '#cc81ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc81ee;
$custom-light: #dda7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc81ee",
  "rgb": {
    "r": 204,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 281.284,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72223,
    "c": 0.16978,
    "h": 314.5
  },
  "luminance": 0.34711
}

Semantic roles & 50–950 ramp

primary
#CC81EE
secondary
#E0F3D8
accent
#D80D4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CC81EE

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

Preview Lab → · Contrast checker → · Palette generator →

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