#CD54D6#CD54D6

#CD54D6 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.1% C 0.216 H 324.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CD54D6
RGBrgb(205, 84, 214)
HSLhsl(296, 61%, 58%)
HSVhsv(296, 61%, 84%)
CMYKcmyk(4.2%, 60.7%, 0%, 16.1%)
CIE-LABlab(56.26, 64.71, -44.79)
CIE-LCHlch(56.26, 78.70, 325.31°)
OKLaboklab(65.05% 0.1765 -0.1241)
OKLCHoklch(65.05% 0.216 324.9)
XYZxyz(40.4838, 24.1772, 66.1396)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54D6 #5DD654
analogous
#8C54D6 #CD54D6 #D6549E
triadic
#CD54D6 #D6CD54 #54D6CD
tetradic
#CD54D6 #D68C54 #5DD654 #549ED6
square
#CD54D6 #D68C54 #5DD654 #549ED6
split-complementary
#CD54D6 #9ED654 #54D68C
monochromatic
#86228E #B52EBF #CD54D6 #DB85E2 #EAB7EE

Accessibility & contrast

On white

3.60
#CD54D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CD54D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54D6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54D6#FFFFFF#000000##000000
##CD54D61.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7DDA
Deuteranopia (green-blind)
#6B8CD3
Tritanopia (blue-blind)
#D1668E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd54d6;
/* rgb */ color: rgb(205, 84, 214);
/* oklch */ color: oklch(65.1% 0.216 324.9);
Tailwind
colors: {
  custom: {
    50: '#df8be3',
    500: '#cd54d6',
    950: '#000000',
  },
}
SCSS
$custom: #cd54d6;
$custom-light: #df8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54d6",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 295.846,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65053,
    "c": 0.21573,
    "h": 324.9
  },
  "luminance": 0.24175
}

Semantic roles & 50–950 ramp

primary
#CD54D6
secondary
#ADDDA9
accent
#E4434F
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CD54D6

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

Preview Lab → · Contrast checker → · Palette generator →

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