#CC88EA#CC88EA

#CC88EA is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.1% C 0.154 H 314.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#CC88EA
RGBrgb(204, 136, 234)
HSLhsl(282, 70%, 73%)
HSVhsv(282, 42%, 92%)
CMYKcmyk(12.8%, 41.9%, 0%, 8.2%)
CIE-LABlab(66.81, 42.74, -39.39)
CIE-LCHlch(66.81, 58.13, 317.33°)
OKLaboklab(73.13% 0.1086 -0.1089)
OKLCHoklch(73.13% 0.154 314.9)
XYZxyz(48.5550, 36.3874, 82.2916)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC88EA #A6EA88
analogous
#9B88EA #CC88EA #EA88D7
triadic
#CC88EA #EACC88 #88EACC
tetradic
#CC88EA #EA9B88 #A6EA88 #88D7EA
square
#CC88EA #EA9B88 #A6EA88 #88D7EA
split-complementary
#CC88EA #D7EA88 #88EA9B
monochromatic
#9D25D2 #B654E1 #CC88EA #E2BCF3 #F4E5FA

Accessibility & contrast

On white

2.54
#CC88EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#CC88EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC88EA
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC88EA#FFFFFF#000000##000000
##CC88EA1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEE
Deuteranopia (green-blind)
#88A4E7
Tritanopia (blue-blind)
#CA96AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc88ea;
/* rgb */ color: rgb(204, 136, 234);
/* oklch */ color: oklch(73.1% 0.154 314.9);
Tailwind
colors: {
  custom: {
    50: '#ddacf1',
    500: '#cc88ea',
    950: '#000000',
  },
}
SCSS
$custom: #cc88ea;
$custom-light: #ddacf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc88ea",
  "rgb": {
    "r": 204,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 281.633,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7313,
    "c": 0.15379,
    "h": 314.9
  },
  "luminance": 0.36386
}

Semantic roles & 50–950 ramp

primary
#CC88EA
secondary
#E1F2D9
accent
#D2144E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC88EA

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

Preview Lab → · Contrast checker → · Palette generator →

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