#CC5FF2#CC5FF2

#CC5FF2 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.8% C 0.225 H 316.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#CC5FF2
RGBrgb(204, 95, 242)
HSLhsl(284, 85%, 66%)
HSVhsv(284, 61%, 95%)
CMYKcmyk(15.7%, 60.7%, 0%, 5.1%)
CIE-LABlab(59.37, 64.86, -55.57)
CIE-LCHlch(59.37, 85.41, 319.41°)
OKLaboklab(67.76% 0.1632 -0.1556)
OKLCHoklch(67.76% 0.225 316.4)
XYZxyz(45.0186, 27.4342, 86.9111)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FF2 #85F25F
analogous
#825FF2 #CC5FF2 #F25FCE
triadic
#CC5FF2 #F2CC5F #5FF2CC
tetradic
#CC5FF2 #F2825F #85F25F #5FCEF2
square
#CC5FF2 #F2825F #85F25F #5FCEF2
split-complementary
#CC5FF2 #CEF25F #5FF282
monochromatic
#9710C6 #BA26ED #CC5FF2 #DE98F7 #F0D0FB

Accessibility & contrast

On white

3.24
#CC5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#CC5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FF2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FF2#FFFFFF#000000##000000
##CC5FF21.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F7
Deuteranopia (green-blind)
#6092EE
Tritanopia (blue-blind)
#CA79A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5ff2;
/* rgb */ color: rgb(204, 95, 242);
/* oklch */ color: oklch(67.8% 0.225 316.4);
Tailwind
colors: {
  custom: {
    50: '#df92f7',
    500: '#cc5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ff2;
$custom-light: #df92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ff2",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 284.49,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67762,
    "c": 0.22547,
    "h": 316.4
  },
  "luminance": 0.27433
}

Semantic roles & 50–950 ramp

primary
#CC5FF2
secondary
#CBEFBE
accent
#E1043D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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