#CD54D7#CD54D7

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

Color values

HEX#CD54D7
RGBrgb(205, 84, 215)
HSLhsl(295, 62%, 59%)
HSVhsv(295, 61%, 84%)
CMYKcmyk(4.7%, 60.9%, 0%, 15.7%)
CIE-LABlab(56.32, 64.89, -45.27)
CIE-LCHlch(56.32, 79.12, 325.10°)
OKLaboklab(65.11% 0.1765 -0.1255)
OKLCHoklch(65.11% 0.217 324.6)
XYZxyz(40.6119, 24.2284, 66.8142)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54D7 #5ED754
analogous
#8B54D7 #CD54D7 #D7549F
triadic
#CD54D7 #D7CD54 #54D7CD
tetradic
#CD54D7 #D78B54 #5ED754 #549FD7
square
#CD54D7 #D78B54 #5ED754 #549FD7
split-complementary
#CD54D7 #9FD754 #54D78B
monochromatic
#87218F #B52DC1 #CD54D7 #DC86E3 #EAB7EE

Accessibility & contrast

On white

3.59
#CD54D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CD54D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54D7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54D7#FFFFFF#000000##000000
##CD54D71.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7EDB
Deuteranopia (green-blind)
#6B8CD4
Tritanopia (blue-blind)
#D1678E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd54d7;
/* rgb */ color: rgb(205, 84, 215);
/* oklch */ color: oklch(65.1% 0.217 324.6);
Tailwind
colors: {
  custom: {
    50: '#df8be4',
    500: '#cd54d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd54d7;
$custom-light: #df8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54d7",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 295.42,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65107,
    "c": 0.2166,
    "h": 324.6
  },
  "luminance": 0.24226
}

Semantic roles & 50–950 ramp

primary
#CD54D7
secondary
#ADDDA9
accent
#E5434F
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160D15
muted
#847D84

Preview Lab

Preview with #CD54D7

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

Preview Lab → · Contrast checker → · Palette generator →

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