#CC54FF#CC54FF

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

Color values

HEX#CC54FF
RGBrgb(204, 84, 255)
HSLhsl(282, 100%, 66%)
HSVhsv(282, 67%, 100%)
CMYKcmyk(20%, 67.1%, 0%, 0%)
CIE-LABlab(58.41, 72.15, -64.31)
CIE-LCHlch(58.41, 96.65, 318.29°)
OKLaboklab(67.31% 0.1749 -0.1811)
OKLCHoklch(67.31% 0.252 314)
XYZxyz(46.1191, 26.3995, 97.2545)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54FF #87FF54
analogous
#7754FF #CC54FF #FF54DD
triadic
#CC54FF #FFCC54 #54FFCC
tetradic
#CC54FF #FF7754 #87FF54 #54DDFF
square
#CC54FF #FF7754 #87FF54 #54DDFF
split-complementary
#CC54FF #DDFF54 #54FF77
monochromatic
#9800D9 #BA17FF #CC54FF #DE91FF #F1CEFF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC54FF#FFFFFF#000000##000000
##CC54FF1.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)
#0086FF
Deuteranopia (green-blind)
#4B8FFB
Tritanopia (blue-blind)
#C776A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc54ff;
/* rgb */ color: rgb(204, 84, 255);
/* oklch */ color: oklch(67.3% 0.252 314.0);
Tailwind
colors: {
  custom: {
    50: '#e08dff',
    500: '#cc54ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc54ff;
$custom-light: #e08dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54ff",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 282.105,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67311,
    "c": 0.25176,
    "h": 314
  },
  "luminance": 0.26398
}

Semantic roles & 50–950 ramp

primary
#CC54FF
secondary
#CCF3BC
accent
#E60044
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CC54FF

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

Preview Lab → · Contrast checker → · Palette generator →

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