#CD54CC#CD54CC

#CD54CC is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.5% C 0.207 H 328.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CD54CC
RGBrgb(205, 84, 204)
HSLhsl(300, 55%, 57%)
HSVhsv(300, 59%, 80%)
CMYKcmyk(0%, 59%, 0.5%, 19.6%)
CIE-LABlab(55.77, 62.98, -39.88)
CIE-LCHlch(55.77, 74.55, 327.66°)
OKLaboklab(64.53% 0.1757 -0.1099)
OKLCHoklch(64.53% 0.207 328)
XYZxyz(39.2457, 23.6819, 59.6190)
Luminance0.2368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54CC #54CD55
analogous
#9254CD #CD54CC #CD5490
triadic
#CD54CC #CCCD54 #54CCCD
tetradic
#CD54CC #CD9254 #54CD55 #5490CD
square
#CD54CC #CD9254 #54CD55 #5490CD
split-complementary
#CD54CC #90CD54 #54CD92
monochromatic
#812680 #B034AF #CD54CC #DB83DA #E9B3E8

Accessibility & contrast

On white

3.66
#CD54CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CD54CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54CC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54CC#FFFFFF#000000##000000
##CD54CC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BD0
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#D36388
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd54cc;
/* rgb */ color: rgb(205, 84, 204);
/* oklch */ color: oklch(64.5% 0.207 328.0);
Tailwind
colors: {
  custom: {
    50: '#df8bdc',
    500: '#cd54cc',
    950: '#000000',
  },
}
SCSS
$custom: #cd54cc;
$custom-light: #df8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54cc",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 300.496,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6453,
    "c": 0.20728,
    "h": 328
  },
  "luminance": 0.23679
}

Semantic roles & 50–950 ramp

primary
#CD54CC
secondary
#A6D7A6
accent
#DE4B4A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD54CC

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

Preview Lab → · Contrast checker → · Palette generator →

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