#CC5CF5#CC5CF5

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

Color values

HEX#CC5CF5
RGBrgb(204, 92, 245)
HSLhsl(284, 88%, 66%)
HSVhsv(284, 62%, 96%)
CMYKcmyk(16.7%, 62.4%, 0%, 3.9%)
CIE-LABlab(59.05, 66.79, -57.75)
CIE-LCHlch(59.05, 88.29, 319.15°)
OKLaboklab(67.58% 0.1666 -0.1619)
OKLCHoklch(67.58% 0.232 315.8)
XYZxyz(45.2079, 27.0858, 89.2152)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CF5 #85F55C
analogous
#7F5CF5 #CC5CF5 #F55CD1
triadic
#CC5CF5 #F5CC5C #5CF5CC
tetradic
#CC5CF5 #F57F5C #85F55C #5CD1F5
square
#CC5CF5 #F57F5C #85F55C #5CD1F5
split-complementary
#CC5CF5 #D1F55C #5CF57F
monochromatic
#970CCA #BA22F1 #CC5CF5 #DE96F9 #F0CFFC

Accessibility & contrast

On white

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

On black

6.42
#CC5CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CF5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CF5#FFFFFF#000000##000000
##CC5CF51.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2487FA
Deuteranopia (green-blind)
#5B91F1
Tritanopia (blue-blind)
#C978A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5cf5;
/* rgb */ color: rgb(204, 92, 245);
/* oklch */ color: oklch(67.6% 0.232 315.8);
Tailwind
colors: {
  custom: {
    50: '#df91f9',
    500: '#cc5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cf5;
$custom-light: #df91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cf5",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 283.922,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67584,
    "c": 0.23236,
    "h": 315.8
  },
  "luminance": 0.27084
}

Semantic roles & 50–950 ramp

primary
#CC5CF5
secondary
#CBF0BD
accent
#E5003E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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