#CC88FA#CC88FA

#CC88FA is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.9% C 0.172 H 310.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#CC88FA
RGBrgb(204, 136, 250)
HSLhsl(276, 92%, 76%)
HSVhsv(276, 46%, 98%)
CMYKcmyk(18.4%, 45.6%, 0%, 2%)
CIE-LABlab(67.54, 46.11, -47.05)
CIE-LCHlch(67.54, 65.88, 314.43°)
OKLaboklab(73.91% 0.1112 -0.131)
OKLCHoklch(73.91% 0.172 310.3)
XYZxyz(50.9582, 37.3487, 94.9485)
Luminance0.3735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC88FA #B6FA88
analogous
#9388FA #CC88FA #FA88EF
triadic
#CC88FA #FACC88 #88FACC
tetradic
#CC88FA #FA9388 #B6FA88 #88EFFA
square
#CC88FA #FA9388 #B6FA88 #88EFFA
split-complementary
#CC88FA #EFFA88 #88FA93
monochromatic
#9A13F5 #B34DF8 #CC88FA #E5C3FC #F2E2FE

Accessibility & contrast

On white

2.48
#CC88FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#CC88FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC88FA
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC88FA#FFFFFF#000000##000000
##CC88FA1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#C79AB5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc88fa;
/* rgb */ color: rgb(204, 136, 250);
/* oklch */ color: oklch(73.9% 0.172 310.3);
Tailwind
colors: {
  custom: {
    50: '#ddacfc',
    500: '#cc88fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc88fa;
$custom-light: #ddacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc88fa",
  "rgb": {
    "r": 204,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 275.789,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73908,
    "c": 0.17181,
    "h": 310.3
  },
  "luminance": 0.37348
}

Semantic roles & 50–950 ramp

primary
#CC88FA
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC88FA

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

Preview Lab → · Contrast checker → · Palette generator →

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