#CC5CF2#CC5CF2

#CC5CF2 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.4% C 0.230 H 316.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#CC5CF2
RGBrgb(204, 92, 242)
HSLhsl(285, 85%, 65%)
HSVhsv(285, 62%, 95%)
CMYKcmyk(15.7%, 62%, 0%, 5.1%)
CIE-LABlab(58.89, 66.20, -56.35)
CIE-LCHlch(58.89, 86.94, 319.60°)
OKLaboklab(67.41% 0.1667 -0.1579)
OKLCHoklch(67.41% 0.23 316.6)
XYZxyz(44.7536, 26.9041, 86.8228)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CF2 #82F25C
analogous
#815CF2 #CC5CF2 #F25CCD
triadic
#CC5CF2 #F2CC5C #5CF2CC
tetradic
#CC5CF2 #F2815C #82F25C #5CCDF2
square
#CC5CF2 #F2815C #82F25C #5CCDF2
split-complementary
#CC5CF2 #CDF25C #5CF281
monochromatic
#9610C4 #BA23ED #CC5CF2 #DE95F7 #EFCDFB

Accessibility & contrast

On white

3.29
#CC5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#CC5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CF2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CF2#FFFFFF#000000##000000
##CC5CF21.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A87F7
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#CA779F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5cf2;
/* rgb */ color: rgb(204, 92, 242);
/* oklch */ color: oklch(67.4% 0.230 316.6);
Tailwind
colors: {
  custom: {
    50: '#df91f7',
    500: '#cc5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cf2;
$custom-light: #df91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cf2",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 284.8,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67408,
    "c": 0.22956,
    "h": 316.6
  },
  "luminance": 0.26902
}

Semantic roles & 50–950 ramp

primary
#CC5CF2
secondary
#C9EEBC
accent
#E2043C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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