#CC5FF8#CC5FF8

#CC5FF8 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.1% C 0.231 H 314.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#CC5FF8
RGBrgb(204, 95, 248)
HSLhsl(283, 92%, 67%)
HSVhsv(283, 62%, 97%)
CMYKcmyk(17.7%, 61.7%, 0%, 2.7%)
CIE-LABlab(59.71, 66.05, -58.36)
CIE-LCHlch(59.71, 88.14, 318.53°)
OKLaboklab(68.11% 0.1632 -0.1638)
OKLCHoklch(68.11% 0.231 314.9)
XYZxyz(45.9346, 27.8006, 91.7351)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FF8 #8BF85F
analogous
#805FF8 #CC5FF8 #F85FD8
triadic
#CC5FF8 #F8CC5F #5FF8CC
tetradic
#CC5FF8 #F8805F #8BF85F #5FD8F8
square
#CC5FF8 #F8805F #8BF85F #5FD8F8
split-complementary
#CC5FF8 #D8F85F #5FF880
monochromatic
#9909D3 #B924F5 #CC5FF8 #DF9AFB #F1D4FD

Accessibility & contrast

On white

3.20
#CC5FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#CC5FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FF8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FF8#FFFFFF#000000##000000
##CC5FF81.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#278AFD
Deuteranopia (green-blind)
#5C93F4
Tritanopia (blue-blind)
#C97BA3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc5ff8;
/* rgb */ color: rgb(204, 95, 248);
/* oklch */ color: oklch(68.1% 0.231 314.9);
Tailwind
colors: {
  custom: {
    50: '#df92fb',
    500: '#cc5ff8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ff8;
$custom-light: #df92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ff8",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 282.745,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68112,
    "c": 0.23118,
    "h": 314.9
  },
  "luminance": 0.27799
}

Semantic roles & 50–950 ramp

primary
#CC5FF8
secondary
#CFF2C1
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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