#CC88EE#CC88EE

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

Color values

HEX#CC88EE
RGBrgb(204, 136, 238)
HSLhsl(280, 75%, 73%)
HSVhsv(280, 43%, 93%)
CMYKcmyk(14.3%, 42.9%, 0%, 6.7%)
CIE-LABlab(66.99, 43.57, -41.32)
CIE-LCHlch(66.99, 60.05, 316.52°)
OKLaboklab(73.32% 0.1093 -0.1145)
OKLCHoklch(73.32% 0.158 313.7)
XYZxyz(49.1361, 36.6198, 85.3523)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC88EE #AAEE88
analogous
#9988EE #CC88EE #EE88DD
triadic
#CC88EE #EECC88 #88EECC
tetradic
#CC88EE #EE9988 #AAEE88 #88DDEE
square
#CC88EE #EE9988 #AAEE88 #88DDEE
split-complementary
#CC88EE #DDEE88 #88EE99
monochromatic
#9D1FDC #B552E6 #CC88EE #E3BEF6 #F4E4FB

Accessibility & contrast

On white

2.52
#CC88EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#CC88EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC88EE
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC88EE#FFFFFF#000000##000000
##CC88EE1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF2
Deuteranopia (green-blind)
#86A5EB
Tritanopia (blue-blind)
#C997B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc88ee;
/* rgb */ color: rgb(204, 136, 238);
/* oklch */ color: oklch(73.3% 0.158 313.7);
Tailwind
colors: {
  custom: {
    50: '#ddacf4',
    500: '#cc88ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc88ee;
$custom-light: #ddacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc88ee",
  "rgb": {
    "r": 204,
    "g": 136,
    "b": 238
  },
  "hsl": {
    "h": 280,
    "s": 75,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73319,
    "c": 0.15826,
    "h": 313.7
  },
  "luminance": 0.36619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC88EE

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

Preview Lab → · Contrast checker → · Palette generator →

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