#CD54D1#CD54D1

#CD54D1 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.211 H 326.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CD54D1
RGBrgb(205, 84, 209)
HSLhsl(298, 58%, 57%)
HSVhsv(298, 60%, 82%)
CMYKcmyk(1.9%, 59.8%, 0%, 18%)
CIE-LABlab(56.01, 63.84, -42.34)
CIE-LCHlch(56.01, 76.61, 326.44°)
OKLaboklab(64.79% 0.1762 -0.117)
OKLCHoklch(64.79% 0.211 326.4)
XYZxyz(39.8550, 23.9257, 62.8281)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54D1 #58D154
analogous
#8F54D1 #CD54D1 #D15497
triadic
#CD54D1 #D1CD54 #54D1CD
tetradic
#CD54D1 #D18F54 #58D154 #5497D1
square
#CD54D1 #D18F54 #58D154 #5497D1
split-complementary
#CD54D1 #97D154 #54D18F
monochromatic
#832486 #B231B7 #CD54D1 #DB84DE #E9B4EB

Accessibility & contrast

On white

3.63
#CD54D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CD54D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54D1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54D1#FFFFFF#000000##000000
##CD54D11.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#437CD5
Deuteranopia (green-blind)
#6E8CCE
Tritanopia (blue-blind)
#D2648B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd54d1;
/* rgb */ color: rgb(205, 84, 209);
/* oklch */ color: oklch(64.8% 0.211 326.4);
Tailwind
colors: {
  custom: {
    50: '#df8bdf',
    500: '#cd54d1',
    950: '#000000',
  },
}
SCSS
$custom: #cd54d1;
$custom-light: #df8bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54d1",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 209
  },
  "hsl": {
    "h": 298.08,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64789,
    "c": 0.21149,
    "h": 326.4
  },
  "luminance": 0.23923
}

Semantic roles & 50–950 ramp

primary
#CD54D1
secondary
#A9DAA7
accent
#E1474C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CD54D1

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

Preview Lab → · Contrast checker → · Palette generator →

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