#CC5FF5#CC5FF5

#CC5FF5 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 67.9% C 0.228 H 315.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#CC5FF5
RGBrgb(204, 95, 245)
HSLhsl(284, 88%, 67%)
HSVhsv(284, 61%, 96%)
CMYKcmyk(16.7%, 61.2%, 0%, 3.9%)
CIE-LABlab(59.54, 65.45, -56.97)
CIE-LCHlch(59.54, 86.77, 318.96°)
OKLaboklab(67.94% 0.1632 -0.1597)
OKLCHoklch(67.94% 0.228 315.6)
XYZxyz(45.4729, 27.6159, 89.3036)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FF5 #88F55F
analogous
#815FF5 #CC5FF5 #F55FD3
triadic
#CC5FF5 #F5CC5F #5FF5CC
tetradic
#CC5FF5 #F5815F #88F55F #5FD3F5
square
#CC5FF5 #F5815F #88F55F #5FD3F5
split-complementary
#CC5FF5 #D3F55F #5FF581
monochromatic
#980DCD #BA25F1 #CC5FF5 #DE99F9 #F1D2FC

Accessibility & contrast

On white

3.22
#CC5FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#CC5FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FF5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FF5#FFFFFF#000000##000000
##CC5FF51.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C89FA
Deuteranopia (green-blind)
#5E92F1
Tritanopia (blue-blind)
#C97AA2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5ff5;
/* rgb */ color: rgb(204, 95, 245);
/* oklch */ color: oklch(67.9% 0.228 315.6);
Tailwind
colors: {
  custom: {
    50: '#df92f9',
    500: '#cc5ff5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ff5;
$custom-light: #df92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ff5",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 283.6,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67936,
    "c": 0.22832,
    "h": 315.6
  },
  "luminance": 0.27614
}

Semantic roles & 50–950 ramp

primary
#CC5FF5
secondary
#CDF0C0
accent
#E5013F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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