#CC54F1#CC54F1

#CC54F1 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.5% C 0.239 H 317.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CC54F1
RGBrgb(204, 84, 241)
HSLhsl(286, 85%, 64%)
HSVhsv(286, 65%, 95%)
CMYKcmyk(15.4%, 65.1%, 0%, 5.5%)
CIE-LABlab(57.59, 69.44, -57.86)
CIE-LCHlch(57.59, 90.39, 320.20°)
OKLaboklab(66.45% 0.1756 -0.1622)
OKLCHoklch(66.45% 0.239 317.3)
XYZxyz(43.9470, 25.5307, 85.8150)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54F1 #79F154
analogous
#7D54F1 #CC54F1 #F154C7
triadic
#CC54F1 #F1CC54 #54F1CC
tetradic
#CC54F1 #F17D54 #79F154 #54C7F1
square
#CC54F1 #F17D54 #79F154 #54C7F1
split-complementary
#CC54F1 #C7F154 #54F17D
monochromatic
#930FBB #BB1BEC #CC54F1 #DD8DF6 #EEC5FA

Accessibility & contrast

On white

3.44
#CC54F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CC54F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54F1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54F1#FFFFFF#000000##000000
##CC54F11.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1083F6
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#CB719C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc54f1;
/* rgb */ color: rgb(204, 84, 241);
/* oklch */ color: oklch(66.5% 0.239 317.3);
Tailwind
colors: {
  custom: {
    50: '#df8cf6',
    500: '#cc54f1',
    950: '#000000',
  },
}
SCSS
$custom: #cc54f1;
$custom-light: #df8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54f1",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 285.86,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66454,
    "c": 0.23908,
    "h": 317.3
  },
  "luminance": 0.25529
}

Semantic roles & 50–950 ramp

primary
#CC54F1
secondary
#C2ECB5
accent
#E10438
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC54F1

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

Preview Lab → · Contrast checker → · Palette generator →

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