#CC88ED#CC88ED

#CC88ED is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.3% C 0.157 H 314.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CC88ED
RGBrgb(204, 136, 237)
HSLhsl(280, 74%, 73%)
HSVhsv(280, 43%, 93%)
CMYKcmyk(13.9%, 42.6%, 0%, 7.1%)
CIE-LABlab(66.95, 43.36, -40.84)
CIE-LCHlch(66.95, 59.57, 316.72°)
OKLaboklab(73.27% 0.1091 -0.1131)
OKLCHoklch(73.27% 0.157 314)
XYZxyz(48.9896, 36.5612, 84.5807)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC88ED #A9ED88
analogous
#9988ED #CC88ED #ED88DB
triadic
#CC88ED #EDCC88 #88EDCC
tetradic
#CC88ED #ED9988 #A9ED88 #88DBED
square
#CC88ED #ED9988 #A9ED88 #88DBED
split-complementary
#CC88ED #DBED88 #88ED99
monochromatic
#9D21DA #B553E5 #CC88ED #E3BDF5 #F4E4FB

Accessibility & contrast

On white

2.53
#CC88ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#CC88ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC88ED
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC88ED#FFFFFF#000000##000000
##CC88ED1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF1
Deuteranopia (green-blind)
#87A5EA
Tritanopia (blue-blind)
#CA96AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc88ed;
/* rgb */ color: rgb(204, 136, 237);
/* oklch */ color: oklch(73.3% 0.157 314.0);
Tailwind
colors: {
  custom: {
    50: '#ddacf3',
    500: '#cc88ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc88ed;
$custom-light: #ddacf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc88ed",
  "rgb": {
    "r": 204,
    "g": 136,
    "b": 237
  },
  "hsl": {
    "h": 280.396,
    "s": 73.723,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73272,
    "c": 0.15714,
    "h": 314
  },
  "luminance": 0.3656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC88ED

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

Preview Lab → · Contrast checker → · Palette generator →

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