#CC54DB#CC54DB

#CC54DB is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.2% C 0.220 H 323.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CC54DB
RGBrgb(204, 84, 219)
HSLhsl(293, 65%, 59%)
HSVhsv(293, 62%, 86%)
CMYKcmyk(6.8%, 61.6%, 0%, 14.1%)
CIE-LABlab(56.38, 65.36, -47.44)
CIE-LCHlch(56.38, 80.76, 324.03°)
OKLaboklab(65.19% 0.1756 -0.1318)
OKLCHoklch(65.19% 0.22 323.1)
XYZxyz(40.8571, 24.2947, 69.5414)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54DB #63DB54
analogous
#8954DB #CC54DB #DB54A7
triadic
#CC54DB #DBCC54 #54DBCC
tetradic
#CC54DB #DB8954 #63DB54 #54A7DB
square
#CC54DB #DB8954 #63DB54 #54A7DB
split-complementary
#CC54DB #A7DB54 #54DB89
monochromatic
#881F95 #B62AC8 #CC54DB #DB87E6 #EAB9F0

Accessibility & contrast

On white

3.58
#CC54DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CC54DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54DB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54DB#FFFFFF#000000##000000
##CC54DB1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#678CD7
Tritanopia (blue-blind)
#CF6890
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc54db;
/* rgb */ color: rgb(204, 84, 219);
/* oklch */ color: oklch(65.2% 0.220 323.1);
Tailwind
colors: {
  custom: {
    50: '#df8be7',
    500: '#cc54db',
    950: '#000000',
  },
}
SCSS
$custom: #cc54db;
$custom-light: #df8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54db",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 293.333,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65193,
    "c": 0.21956,
    "h": 323.1
  },
  "luminance": 0.24292
}

Semantic roles & 50–950 ramp

primary
#CC54DB
secondary
#B1E0AB
accent
#E84052
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CC54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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