#CC88F2#CC88F2

#CC88F2 is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.5% C 0.163 H 312.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CC88F2
RGBrgb(204, 136, 242)
HSLhsl(278, 80%, 74%)
HSVhsv(278, 44%, 95%)
CMYKcmyk(15.7%, 43.8%, 0%, 5.1%)
CIE-LABlab(67.17, 44.41, -43.24)
CIE-LCHlch(67.17, 61.98, 315.76°)
OKLaboklab(73.51% 0.11 -0.12)
OKLCHoklch(73.51% 0.163 312.5)
XYZxyz(49.7303, 36.8575, 88.4817)
Luminance0.3686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC88F2 #AEF288
analogous
#9788F2 #CC88F2 #F288E3
triadic
#CC88F2 #F2CC88 #88F2CC
tetradic
#CC88F2 #F29788 #AEF288 #88E3F2
square
#CC88F2 #F29788 #AEF288 #88E3F2
split-complementary
#CC88F2 #E3F288 #88F297
monochromatic
#9D1AE6 #B451EC #CC88F2 #E4BFF8 #F3E3FC

Accessibility & contrast

On white

2.51
#CC88F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#CC88F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC88F2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC88F2#FFFFFF#000000##000000
##CC88F21.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#C898B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc88f2;
/* rgb */ color: rgb(204, 136, 242);
/* oklch */ color: oklch(73.5% 0.163 312.5);
Tailwind
colors: {
  custom: {
    50: '#ddacf7',
    500: '#cc88f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc88f2;
$custom-light: #ddacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc88f2",
  "rgb": {
    "r": 204,
    "g": 136,
    "b": 242
  },
  "hsl": {
    "h": 278.491,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73512,
    "c": 0.16275,
    "h": 312.5
  },
  "luminance": 0.36856
}

Semantic roles & 50–950 ramp

primary
#CC88F2
secondary
#E1F4D7
accent
#DD0955
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CC88F2

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

Preview Lab → · Contrast checker → · Palette generator →

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