#CD54D4#CD54D4

#CD54D4 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 64.9% C 0.214 H 325.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CD54D4
RGBrgb(205, 84, 212)
HSLhsl(297, 60%, 58%)
HSVhsv(297, 60%, 83%)
CMYKcmyk(3.3%, 60.4%, 0%, 16.9%)
CIE-LABlab(56.16, 64.36, -43.81)
CIE-LCHlch(56.16, 77.86, 325.76°)
OKLaboklab(64.95% 0.1764 -0.1213)
OKLCHoklch(64.95% 0.214 325.5)
XYZxyz(40.2299, 24.0756, 64.8027)
Luminance0.2407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54D4 #5BD454
analogous
#8D54D4 #CD54D4 #D4549B
triadic
#CD54D4 #D4CD54 #54D4CD
tetradic
#CD54D4 #D48D54 #5BD454 #549BD4
square
#CD54D4 #D48D54 #5BD454 #549BD4
split-complementary
#CD54D4 #9BD454 #54D48D
monochromatic
#85238B #B42FBC #CD54D4 #DB85E0 #EAB6ED

Accessibility & contrast

On white

3.61
#CD54D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CD54D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54D4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54D4#FFFFFF#000000##000000
##CD54D41.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#407DD8
Deuteranopia (green-blind)
#6C8CD1
Tritanopia (blue-blind)
#D2668C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd54d4;
/* rgb */ color: rgb(205, 84, 212);
/* oklch */ color: oklch(64.9% 0.214 325.5);
Tailwind
colors: {
  custom: {
    50: '#df8be2',
    500: '#cd54d4',
    950: '#000000',
  },
}
SCSS
$custom: #cd54d4;
$custom-light: #df8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54d4",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 296.719,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64947,
    "c": 0.21403,
    "h": 325.5
  },
  "luminance": 0.24073
}

Semantic roles & 50–950 ramp

primary
#CD54D4
secondary
#ABDBA8
accent
#E3454D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CD54D4

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

Preview Lab → · Contrast checker → · Palette generator →

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