#CC5DF3#CC5DF3

#CC5DF3 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.6% C 0.229 H 316.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#CC5DF3
RGBrgb(204, 93, 243)
HSLhsl(284, 86%, 66%)
HSVhsv(284, 62%, 95%)
CMYKcmyk(16%, 61.7%, 0%, 4.7%)
CIE-LABlab(59.10, 65.95, -56.56)
CIE-LCHlch(59.10, 86.88, 319.39°)
OKLaboklab(67.58% 0.1655 -0.1585)
OKLCHoklch(67.58% 0.229 316.2)
XYZxyz(44.9914, 27.1388, 87.6450)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DF3 #84F35D
analogous
#815DF3 #CC5DF3 #F35DCF
triadic
#CC5DF3 #F3CC5D #5DF3CC
tetradic
#CC5DF3 #F3815D #84F35D #5DCFF3
square
#CC5DF3 #F3815D #84F35D #5DCFF3
split-complementary
#CC5DF3 #CFF35D #5DF381
monochromatic
#970FC7 #BA24EF #CC5DF3 #DE96F7 #F0CFFB

Accessibility & contrast

On white

3.27
#CC5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#CC5DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DF3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DF3#FFFFFF#000000##000000
##CC5DF31.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A87F8
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#CA78A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5df3;
/* rgb */ color: rgb(204, 93, 243);
/* oklch */ color: oklch(67.6% 0.229 316.2);
Tailwind
colors: {
  custom: {
    50: '#df91f8',
    500: '#cc5df3',
    950: '#000000',
  },
}
SCSS
$custom: #cc5df3;
$custom-light: #df91f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5df3",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 284.4,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67583,
    "c": 0.22914,
    "h": 316.2
  },
  "luminance": 0.27137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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