#CC8AEC#CC8AEC

#CC8AEC is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.5% C 0.153 H 314.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#CC8AEC
RGBrgb(204, 138, 236)
HSLhsl(280, 72%, 73%)
HSVhsv(280, 42%, 93%)
CMYKcmyk(13.6%, 41.5%, 0%, 7.5%)
CIE-LABlab(67.33, 42.08, -39.69)
CIE-LCHlch(67.33, 57.85, 316.68°)
OKLaboklab(73.55% 0.1061 -0.1098)
OKLCHoklch(73.55% 0.153 314)
XYZxyz(49.1282, 37.0715, 83.9081)
Luminance0.3707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8AEC #AAEC8A
analogous
#9B8AEC #CC8AEC #EC8ADB
triadic
#CC8AEC #ECCC8A #8AECCC
tetradic
#CC8AEC #EC9B8A #AAEC8A #8ADBEC
square
#CC8AEC #EC9B8A #AAEC8A #8ADBEC
split-complementary
#CC8AEC #DBEC8A #8AEC9B
monochromatic
#9D23D8 #B555E3 #CC8AEC #E3BFF5 #F4E5FB

Accessibility & contrast

On white

2.50
#CC8AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#CC8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8AEC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8AEC#FFFFFF#000000##000000
##CC8AEC1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0F0
Deuteranopia (green-blind)
#89A6E9
Tritanopia (blue-blind)
#CA98B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc8aec;
/* rgb */ color: rgb(204, 138, 236);
/* oklch */ color: oklch(73.5% 0.153 314.0);
Tailwind
colors: {
  custom: {
    50: '#ddadf2',
    500: '#cc8aec',
    950: '#000000',
  },
}
SCSS
$custom: #cc8aec;
$custom-light: #ddadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8aec",
  "rgb": {
    "r": 204,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 280.408,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73546,
    "c": 0.15269,
    "h": 314
  },
  "luminance": 0.3707
}

Semantic roles & 50–950 ramp

primary
#CC8AEC
secondary
#E1F2D9
accent
#D41151
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CC8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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