#CC88EB#CC88EB

#CC88EB is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.2% C 0.155 H 314.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#CC88EB
RGBrgb(204, 136, 235)
HSLhsl(281, 71%, 73%)
HSVhsv(281, 42%, 92%)
CMYKcmyk(13.2%, 42.1%, 0%, 7.8%)
CIE-LABlab(66.86, 42.95, -39.88)
CIE-LCHlch(66.86, 58.60, 317.12°)
OKLaboklab(73.18% 0.1088 -0.1103)
OKLCHoklch(73.18% 0.155 314.6)
XYZxyz(48.6990, 36.4450, 83.0504)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC88EB #A7EB88
analogous
#9A88EB #CC88EB #EB88D9
triadic
#CC88EB #EBCC88 #88EBCC
tetradic
#CC88EB #EB9A88 #A7EB88 #88D9EB
square
#CC88EB #EB9A88 #A7EB88 #88D9EB
split-complementary
#CC88EB #D9EB88 #88EB9A
monochromatic
#9D24D5 #B654E2 #CC88EB #E2BCF4 #F4E5FB

Accessibility & contrast

On white

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

On black

8.29
#CC88EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC88EB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC88EB#FFFFFF#000000##000000
##CC88EB1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc88eb;
/* rgb */ color: rgb(204, 136, 235);
/* oklch */ color: oklch(73.2% 0.155 314.6);
Tailwind
colors: {
  custom: {
    50: '#ddacf2',
    500: '#cc88eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc88eb;
$custom-light: #ddacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc88eb",
  "rgb": {
    "r": 204,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 281.212,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73177,
    "c": 0.1549,
    "h": 314.6
  },
  "luminance": 0.36444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC88EB

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

Preview Lab → · Contrast checker → · Palette generator →

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