#CC54D2#CC54D2

#CC54D2 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.212 H 325.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CC54D2
RGBrgb(204, 84, 210)
HSLhsl(297, 58%, 58%)
HSVhsv(297, 60%, 82%)
CMYKcmyk(2.9%, 60%, 0%, 17.6%)
CIE-LABlab(55.92, 63.77, -43.07)
CIE-LCHlch(55.92, 76.95, 325.96°)
OKLaboklab(64.71% 0.1751 -0.1192)
OKLCHoklch(64.71% 0.212 325.8)
XYZxyz(39.7042, 23.8335, 63.4693)
Luminance0.2383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54D2 #5AD254
analogous
#8D54D2 #CC54D2 #D25499
triadic
#CC54D2 #D2CC54 #54D2CC
tetradic
#CC54D2 #D28D54 #5AD254 #5499D2
square
#CC54D2 #D28D54 #5AD254 #5499D2
split-complementary
#CC54D2 #99D254 #54D28D
monochromatic
#832488 #B231B8 #CC54D2 #DA84DF #E9B5EB

Accessibility & contrast

On white

3.64
#CC54D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CC54D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54D2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54D2#FFFFFF#000000##000000
##CC54D21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD6
Deuteranopia (green-blind)
#6C8BCF
Tritanopia (blue-blind)
#D1658B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc54d2;
/* rgb */ color: rgb(204, 84, 210);
/* oklch */ color: oklch(64.7% 0.212 325.8);
Tailwind
colors: {
  custom: {
    50: '#df8be0',
    500: '#cc54d2',
    950: '#000000',
  },
}
SCSS
$custom: #cc54d2;
$custom-light: #df8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54d2",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 297.143,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64709,
    "c": 0.21181,
    "h": 325.8
  },
  "luminance": 0.23831
}

Semantic roles & 50–950 ramp

primary
#CC54D2
secondary
#AADAA8
accent
#E2464E
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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