#CC54FA#CC54FA

#CC54FA is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 67.0% C 0.247 H 315.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CC54FA
RGBrgb(204, 84, 250)
HSLhsl(283, 94%, 65%)
HSVhsv(283, 66%, 98%)
CMYKcmyk(18.4%, 66.4%, 0%, 2%)
CIE-LABlab(58.11, 71.17, -62.02)
CIE-LCHlch(58.11, 94.41, 318.93°)
OKLaboklab(67% 0.1752 -0.1744)
OKLCHoklch(67% 0.247 315.1)
XYZxyz(45.3247, 26.0817, 93.0707)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54FA #82FA54
analogous
#7954FA #CC54FA #FA54D5
triadic
#CC54FA #FACC54 #54FACC
tetradic
#CC54FA #FA7954 #82FA54 #54D5FA
square
#CC54FA #FA7954 #82FA54 #54D5FA
split-complementary
#CC54FA #D5FA54 #54FA79
monochromatic
#9606CE #BA19F8 #CC54FA #DE8FFC #EFCBFD

Accessibility & contrast

On white

3.38
#CC54FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CC54FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54FA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54FA#FFFFFF#000000##000000
##CC54FA1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#508FF6
Tritanopia (blue-blind)
#C875A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc54fa;
/* rgb */ color: rgb(204, 84, 250);
/* oklch */ color: oklch(67.0% 0.247 315.1);
Tailwind
colors: {
  custom: {
    50: '#e08cfd',
    500: '#cc54fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc54fa;
$custom-light: #e08cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54fa",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 250
  },
  "hsl": {
    "h": 283.373,
    "s": 94.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67,
    "c": 0.24721,
    "h": 315.1
  },
  "luminance": 0.2608
}

Semantic roles & 50–950 ramp

primary
#CC54FA
secondary
#C9F1B9
accent
#E60040
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CC54FA

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

Preview Lab → · Contrast checker → · Palette generator →

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