#CD54D2#CD54D2

#CD54D2 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.8% C 0.212 H 326.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CD54D2
RGBrgb(205, 84, 210)
HSLhsl(298, 58%, 58%)
HSVhsv(298, 60%, 82%)
CMYKcmyk(2.4%, 60%, 0%, 17.6%)
CIE-LABlab(56.06, 64.01, -42.83)
CIE-LCHlch(56.06, 77.02, 326.21°)
OKLaboklab(64.84% 0.1762 -0.1184)
OKLCHoklch(64.84% 0.212 326.1)
XYZxyz(39.9792, 23.9753, 63.4822)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54D2 #59D254
analogous
#8E54D2 #CD54D2 #D25498
triadic
#CD54D2 #D2CD54 #54D2CD
tetradic
#CD54D2 #D28E54 #59D254 #5498D2
square
#CD54D2 #D28E54 #59D254 #5498D2
split-complementary
#CD54D2 #98D254 #54D28E
monochromatic
#842488 #B331B8 #CD54D2 #DB84DF #E9B5EB

Accessibility & contrast

On white

3.62
#CD54D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CD54D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54D2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54D2#FFFFFF#000000##000000
##CD54D21.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#427DD6
Deuteranopia (green-blind)
#6D8CCF
Tritanopia (blue-blind)
#D2658B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd54d2;
/* rgb */ color: rgb(205, 84, 210);
/* oklch */ color: oklch(64.8% 0.212 326.1);
Tailwind
colors: {
  custom: {
    50: '#df8be0',
    500: '#cd54d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd54d2;
$custom-light: #df8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54d2",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 297.619,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64841,
    "c": 0.21233,
    "h": 326.1
  },
  "luminance": 0.23973
}

Semantic roles & 50–950 ramp

primary
#CD54D2
secondary
#AADAA8
accent
#E2464C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CD54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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