#CD54D8#CD54D8

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

Color values

HEX#CD54D8
RGBrgb(205, 84, 216)
HSLhsl(295, 63%, 59%)
HSVhsv(295, 61%, 85%)
CMYKcmyk(5.1%, 61.1%, 0%, 15.3%)
CIE-LABlab(56.37, 65.07, -45.76)
CIE-LCHlch(56.37, 79.54, 324.88°)
OKLaboklab(65.16% 0.1766 -0.1269)
OKLCHoklch(65.16% 0.217 324.3)
XYZxyz(40.7408, 24.2800, 67.4930)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54D8 #5FD854
analogous
#8B54D8 #CD54D8 #D854A1
triadic
#CD54D8 #D8CD54 #54D8CD
tetradic
#CD54D8 #D88B54 #5FD854 #54A1D8
square
#CD54D8 #D88B54 #5FD854 #54A1D8
split-complementary
#CD54D8 #A1D854 #54D88B
monochromatic
#872191 #B62CC2 #CD54D8 #DC86E3 #EAB8EF

Accessibility & contrast

On white

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

On black

5.86
#CD54D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54D8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54D8#FFFFFF#000000##000000
##CD54D81.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7EDC
Deuteranopia (green-blind)
#6A8CD5
Tritanopia (blue-blind)
#D1678F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd54d8;
/* rgb */ color: rgb(205, 84, 216);
/* oklch */ color: oklch(65.2% 0.217 324.3);
Tailwind
colors: {
  custom: {
    50: '#df8be4',
    500: '#cd54d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd54d8;
$custom-light: #df8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54d8",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 295,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6516,
    "c": 0.21746,
    "h": 324.3
  },
  "luminance": 0.24278
}

Semantic roles & 50–950 ramp

primary
#CD54D8
secondary
#AEDEAA
accent
#E64250
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CD54D8

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

Preview Lab → · Contrast checker → · Palette generator →

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