#CD54DF#CD54DF

#CD54DF is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.5% C 0.224 H 322.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CD54DF
RGBrgb(205, 84, 223)
HSLhsl(292, 68%, 60%)
HSVhsv(292, 62%, 87%)
CMYKcmyk(8.1%, 62.3%, 0%, 12.5%)
CIE-LABlab(56.73, 66.32, -49.13)
CIE-LCHlch(56.73, 82.54, 323.47°)
OKLaboklab(65.54% 0.1768 -0.1367)
OKLCHoklch(65.54% 0.224 322.3)
XYZxyz(41.6651, 24.6497, 72.3610)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54DF #66DF54
analogous
#8754DF #CD54DF #DF54AC
triadic
#CD54DF #DFCD54 #54DFCD
tetradic
#CD54DF #DF8754 #66DF54 #54ACDF
square
#CD54DF #DF8754 #66DF54 #54ACDF
split-complementary
#CD54DF #ACDF54 #54DF87
monochromatic
#8B1D9C #B927CF #CD54DF #DC88E9 #EBBBF2

Accessibility & contrast

On white

3.54
#CD54DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CD54DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54DF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54DF#FFFFFF#000000##000000
##CD54DF1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE3
Deuteranopia (green-blind)
#668DDB
Tritanopia (blue-blind)
#D06A92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd54df;
/* rgb */ color: rgb(205, 84, 223);
/* oklch */ color: oklch(65.5% 0.224 322.3);
Tailwind
colors: {
  custom: {
    50: '#e08ce9',
    500: '#cd54df',
    950: '#000000',
  },
}
SCSS
$custom: #cd54df;
$custom-light: #e08ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54df",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 292.23,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65544,
    "c": 0.22353,
    "h": 322.3
  },
  "luminance": 0.24647
}

Semantic roles & 50–950 ramp

primary
#CD54DF
secondary
#B4E2AD
accent
#D0152D
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CD54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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