#CC5CF1#CC5CF1

#CC5CF1 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.3% C 0.229 H 316.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#CC5CF1
RGBrgb(204, 92, 241)
HSLhsl(285, 84%, 65%)
HSVhsv(285, 62%, 95%)
CMYKcmyk(15.4%, 61.8%, 0%, 5.5%)
CIE-LABlab(58.83, 66.01, -55.88)
CIE-LCHlch(58.83, 86.49, 319.75°)
OKLaboklab(67.35% 0.1667 -0.1565)
OKLCHoklch(67.35% 0.229 316.8)
XYZxyz(44.6038, 26.8442, 86.0339)
Luminance0.2684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CF1 #81F15C
analogous
#825CF1 #CC5CF1 #F15CCB
triadic
#CC5CF1 #F1CC5C #5CF1CC
tetradic
#CC5CF1 #F1825C #81F15C #5CCBF1
square
#CC5CF1 #F1825C #81F15C #5CCBF1
split-complementary
#CC5CF1 #CBF15C #5CF182
monochromatic
#9611C2 #BA24EC #CC5CF1 #DE94F6 #EFCDFB

Accessibility & contrast

On white

3.30
#CC5CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#CC5CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CF1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CF1#FFFFFF#000000##000000
##CC5CF11.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B87F6
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#CA769E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5cf1;
/* rgb */ color: rgb(204, 92, 241);
/* oklch */ color: oklch(67.3% 0.229 316.8);
Tailwind
colors: {
  custom: {
    50: '#df91f6',
    500: '#cc5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cf1;
$custom-light: #df91f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cf1",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 285.101,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6735,
    "c": 0.22862,
    "h": 316.8
  },
  "luminance": 0.26843
}

Semantic roles & 50–950 ramp

primary
#CC5CF1
secondary
#C8EEBB
accent
#E1053B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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