#CD54D9#CD54D9

#CD54D9 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.2% C 0.218 H 324.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CD54D9
RGBrgb(205, 84, 217)
HSLhsl(295, 64%, 59%)
HSVhsv(295, 61%, 85%)
CMYKcmyk(5.5%, 61.3%, 0%, 14.9%)
CIE-LABlab(56.42, 65.24, -46.24)
CIE-LCHlch(56.42, 79.97, 324.67°)
OKLaboklab(65.22% 0.1766 -0.1283)
OKLCHoklch(65.22% 0.218 324)
XYZxyz(40.8704, 24.3318, 68.1759)
Luminance0.2433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54D9 #60D954
analogous
#8B54D9 #CD54D9 #D954A3
triadic
#CD54D9 #D9CD54 #54D9CD
tetradic
#CD54D9 #D98B54 #60D954 #54A3D9
square
#CD54D9 #D98B54 #60D954 #54A3D9
split-complementary
#CD54D9 #A3D954 #54D98B
monochromatic
#882092 #B62CC4 #CD54D9 #DC86E4 #EAB8EF

Accessibility & contrast

On white

3.58
#CD54D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CD54D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54D9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54D9#FFFFFF#000000##000000
##CD54D91.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDD
Deuteranopia (green-blind)
#698CD5
Tritanopia (blue-blind)
#D1688F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd54d9;
/* rgb */ color: rgb(205, 84, 217);
/* oklch */ color: oklch(65.2% 0.218 324.0);
Tailwind
colors: {
  custom: {
    50: '#df8ce5',
    500: '#cd54d9',
    950: '#000000',
  },
}
SCSS
$custom: #cd54d9;
$custom-light: #df8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54d9",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 294.586,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65215,
    "c": 0.21832,
    "h": 324
  },
  "luminance": 0.2433
}

Semantic roles & 50–950 ramp

primary
#CD54D9
secondary
#AFDFAA
accent
#E74150
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CD54D9

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

Preview Lab → · Contrast checker → · Palette generator →

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