#CC5CF4#CC5CF4

#CC5CF4 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.5% C 0.231 H 316.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CC5CF4
RGBrgb(204, 92, 244)
HSLhsl(284, 87%, 66%)
HSVhsv(284, 62%, 96%)
CMYKcmyk(16.4%, 62.3%, 0%, 4.3%)
CIE-LABlab(59.00, 66.59, -57.28)
CIE-LCHlch(59.00, 87.84, 319.30°)
OKLaboklab(67.53% 0.1666 -0.1606)
OKLCHoklch(67.53% 0.231 316.1)
XYZxyz(45.0556, 27.0249, 88.4134)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CF4 #84F45C
analogous
#805CF4 #CC5CF4 #F45CD0
triadic
#CC5CF4 #F4CC5C #5CF4CC
tetradic
#CC5CF4 #F4805C #84F45C #5CD0F4
square
#CC5CF4 #F4805C #84F45C #5CD0F4
split-complementary
#CC5CF4 #D0F45C #5CF480
monochromatic
#970EC8 #BA23F0 #CC5CF4 #DE95F8 #F0CFFC

Accessibility & contrast

On white

3.28
#CC5CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CC5CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CF4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CF4#FFFFFF#000000##000000
##CC5CF41.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2687F9
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#CA77A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5cf4;
/* rgb */ color: rgb(204, 92, 244);
/* oklch */ color: oklch(67.5% 0.231 316.1);
Tailwind
colors: {
  custom: {
    50: '#df91f8',
    500: '#cc5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cf4;
$custom-light: #df91f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cf4",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 284.211,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67525,
    "c": 0.23143,
    "h": 316.1
  },
  "luminance": 0.27023
}

Semantic roles & 50–950 ramp

primary
#CC5CF4
secondary
#CAEFBD
accent
#E4023D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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