#CC88EF#CC88EF

#CC88EF is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.4% C 0.159 H 313.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CC88EF
RGBrgb(204, 136, 239)
HSLhsl(280, 76%, 74%)
HSVhsv(280, 43%, 94%)
CMYKcmyk(14.6%, 43.1%, 0%, 6.3%)
CIE-LABlab(67.04, 43.78, -41.80)
CIE-LCHlch(67.04, 60.53, 316.32°)
OKLaboklab(73.37% 0.1095 -0.1158)
OKLCHoklch(73.37% 0.159 313.4)
XYZxyz(49.2834, 36.6788, 86.1281)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC88EF #ABEF88
analogous
#9888EF #CC88EF #EF88DE
triadic
#CC88EF #EFCC88 #88EFCC
tetradic
#CC88EF #EF9888 #ABEF88 #88DEEF
square
#CC88EF #EF9888 #ABEF88 #88DEEF
split-complementary
#CC88EF #DEEF88 #88EF98
monochromatic
#9D1EDF #B552E8 #CC88EF #E3BEF6 #F3E4FB

Accessibility & contrast

On white

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

On black

8.34
#CC88EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC88EF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC88EF#FFFFFF#000000##000000
##CC88EF1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc88ef;
/* rgb */ color: rgb(204, 136, 239);
/* oklch */ color: oklch(73.4% 0.159 313.4);
Tailwind
colors: {
  custom: {
    50: '#ddacf4',
    500: '#cc88ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc88ef;
$custom-light: #ddacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc88ef",
  "rgb": {
    "r": 204,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 279.612,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73367,
    "c": 0.15938,
    "h": 313.4
  },
  "luminance": 0.36678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC88EF

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

Preview Lab → · Contrast checker → · Palette generator →

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