#CC59F2#CC59F2

#CC59F2 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.1% C 0.234 H 316.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CC59F2
RGBrgb(204, 89, 242)
HSLhsl(285, 85%, 65%)
HSVhsv(285, 63%, 95%)
CMYKcmyk(15.7%, 63.2%, 0%, 5.1%)
CIE-LABlab(58.41, 67.51, -57.11)
CIE-LCHlch(58.41, 88.43, 319.77°)
OKLaboklab(67.06% 0.1701 -0.1601)
OKLCHoklch(67.06% 0.234 316.7)
XYZxyz(44.4988, 26.3946, 86.7378)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC59F2 #7FF259
analogous
#7F59F2 #CC59F2 #F259CC
triadic
#CC59F2 #F2CC59 #59F2CC
tetradic
#CC59F2 #F27F59 #7FF259 #59CCF2
square
#CC59F2 #F27F59 #7FF259 #59CCF2
split-complementary
#CC59F2 #CCF259 #59F27F
monochromatic
#950FC1 #BB20EE #CC59F2 #DD92F6 #EFCBFB

Accessibility & contrast

On white

3.34
#CC59F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CC59F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC59F2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC59F2#FFFFFF#000000##000000
##CC59F21.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2185F7
Deuteranopia (green-blind)
#5B90EE
Tritanopia (blue-blind)
#CA759E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc59f2;
/* rgb */ color: rgb(204, 89, 242);
/* oklch */ color: oklch(67.1% 0.234 316.7);
Tailwind
colors: {
  custom: {
    50: '#df8ff7',
    500: '#cc59f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc59f2;
$custom-light: #df8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc59f2",
  "rgb": {
    "r": 204,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 285.098,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67064,
    "c": 0.23354,
    "h": 316.7
  },
  "luminance": 0.26393
}

Semantic roles & 50–950 ramp

primary
#CC59F2
secondary
#C6EDB9
accent
#E2043B
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC59F2

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

Preview Lab → · Contrast checker → · Palette generator →

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