#CC55F2#CC55F2

#CC55F2 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.6% C 0.239 H 317.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CC55F2
RGBrgb(204, 85, 242)
HSLhsl(285, 86%, 64%)
HSVhsv(285, 65%, 95%)
CMYKcmyk(15.7%, 64.9%, 0%, 5.1%)
CIE-LABlab(57.80, 69.22, -58.09)
CIE-LCHlch(57.80, 90.36, 319.99°)
OKLaboklab(66.62% 0.1745 -0.1629)
OKLCHoklch(66.62% 0.239 317)
XYZxyz(44.1750, 25.7469, 86.6299)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC55F2 #7BF255
analogous
#7E55F2 #CC55F2 #F255C9
triadic
#CC55F2 #F2CC55 #55F2CC
tetradic
#CC55F2 #F27E55 #7BF255 #55C9F2
square
#CC55F2 #F27E55 #7BF255 #55C9F2
split-complementary
#CC55F2 #C9F255 #55F27E
monochromatic
#940FBE #BB1CEE #CC55F2 #DD8EF6 #EEC7FB

Accessibility & contrast

On white

3.42
#CC55F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#CC55F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC55F2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC55F2#FFFFFF#000000##000000
##CC55F21.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1183F7
Deuteranopia (green-blind)
#588EEE
Tritanopia (blue-blind)
#CA729D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc55f2;
/* rgb */ color: rgb(204, 85, 242);
/* oklch */ color: oklch(66.6% 0.239 317.0);
Tailwind
colors: {
  custom: {
    50: '#df8df7',
    500: '#cc55f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc55f2;
$custom-light: #df8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc55f2",
  "rgb": {
    "r": 204,
    "g": 85,
    "b": 242
  },
  "hsl": {
    "h": 285.478,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66622,
    "c": 0.23871,
    "h": 317
  },
  "luminance": 0.25745
}

Semantic roles & 50–950 ramp

primary
#CC55F2
secondary
#C3EDB6
accent
#E20339
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC55F2

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

Preview Lab → · Contrast checker → · Palette generator →

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