#CC5FF3#CC5FF3

#CC5FF3 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.8% C 0.226 H 316.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CC5FF3
RGBrgb(204, 95, 243)
HSLhsl(284, 86%, 66%)
HSVhsv(284, 61%, 95%)
CMYKcmyk(16%, 60.9%, 0%, 4.7%)
CIE-LABlab(59.43, 65.06, -56.04)
CIE-LCHlch(59.43, 85.87, 319.26°)
OKLaboklab(67.82% 0.1632 -0.157)
OKLCHoklch(67.82% 0.226 316.1)
XYZxyz(45.1692, 27.4945, 87.7043)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FF3 #86F35F
analogous
#825FF3 #CC5FF3 #F35FD0
triadic
#CC5FF3 #F3CC5F #5FF3CC
tetradic
#CC5FF3 #F3825F #86F35F #5FD0F3
square
#CC5FF3 #F3825F #86F35F #5FD0F3
split-complementary
#CC5FF3 #D0F35F #5FF382
monochromatic
#980FC9 #BA26EF #CC5FF3 #DE98F7 #F0D1FC

Accessibility & contrast

On white

3.23
#CC5FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CC5FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FF3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FF3#FFFFFF#000000##000000
##CC5FF31.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F88F8
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#CA79A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5ff3;
/* rgb */ color: rgb(204, 95, 243);
/* oklch */ color: oklch(67.8% 0.226 316.1);
Tailwind
colors: {
  custom: {
    50: '#df92f8',
    500: '#cc5ff3',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ff3;
$custom-light: #df92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ff3",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 284.189,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6782,
    "c": 0.22642,
    "h": 316.1
  },
  "luminance": 0.27493
}

Semantic roles & 50–950 ramp

primary
#CC5FF3
secondary
#CBEFBF
accent
#E3033E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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