#CC88FB#CC88FB

#CC88FB is a light, vivid violet. Relative luminance 0.374; OKLCH L 74.0% C 0.173 H 310.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CC88FB
RGBrgb(204, 136, 251)
HSLhsl(275, 93%, 76%)
HSVhsv(275, 46%, 98%)
CMYKcmyk(18.7%, 45.8%, 0%, 1.6%)
CIE-LABlab(67.58, 46.33, -47.52)
CIE-LCHlch(67.58, 66.36, 314.27°)
OKLaboklab(73.96% 0.1113 -0.1324)
OKLCHoklch(73.96% 0.173 310.1)
XYZxyz(51.1154, 37.4115, 95.7765)
Luminance0.3741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC88FB #B7FB88
analogous
#9288FB #CC88FB #FB88F1
triadic
#CC88FB #FBCC88 #88FBCC
tetradic
#CC88FB #FB9288 #B7FB88 #88F1FB
square
#CC88FB #FB9288 #B7FB88 #88F1FB
split-complementary
#CC88FB #F1FB88 #88FB92
monochromatic
#9912F7 #B34DF9 #CC88FB #E5C3FD #F2E1FE

Accessibility & contrast

On white

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

On black

8.48
#CC88FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC88FB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC88FB#FFFFFF#000000##000000
##CC88FB1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#7FA6F8
Tritanopia (blue-blind)
#C69AB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc88fb;
/* rgb */ color: rgb(204, 136, 251);
/* oklch */ color: oklch(74.0% 0.173 310.1);
Tailwind
colors: {
  custom: {
    50: '#ddacfd',
    500: '#cc88fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc88fb;
$custom-light: #ddacfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc88fb",
  "rgb": {
    "r": 204,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 275.478,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73958,
    "c": 0.17296,
    "h": 310.1
  },
  "luminance": 0.37411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC88FB

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

Preview Lab → · Contrast checker → · Palette generator →

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