#CD54C7#CD54C7

#CD54C7 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.3% C 0.203 H 329.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CD54C7
RGBrgb(205, 84, 199)
HSLhsl(303, 55%, 57%)
HSVhsv(303, 59%, 80%)
CMYKcmyk(0%, 59%, 2.9%, 19.6%)
CIE-LABlab(55.53, 62.14, -37.40)
CIE-LCHlch(55.53, 72.52, 328.95°)
OKLaboklab(64.28% 0.1753 -0.1028)
OKLCHoklch(64.28% 0.203 329.6)
XYZxyz(38.6556, 23.4459, 56.5113)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54C7 #54CD5A
analogous
#9754CD #CD54C7 #CD548B
triadic
#CD54C7 #C7CD54 #54C7CD
tetradic
#CD54C7 #CD9754 #54CD5A #548BCD
square
#CD54C7 #CD9754 #54CD5A #548BCD
split-complementary
#CD54C7 #8BCD54 #54CD97
monochromatic
#81267C #B034AA #CD54C7 #DB83D7 #E9B3E6

Accessibility & contrast

On white

3.69
#CD54C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CD54C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54C7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54C7#FFFFFF#000000##000000
##CD54C71.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ACB
Deuteranopia (green-blind)
#738BC4
Tritanopia (blue-blind)
#D46186
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd54c7;
/* rgb */ color: rgb(205, 84, 199);
/* oklch */ color: oklch(64.3% 0.203 329.6);
Tailwind
colors: {
  custom: {
    50: '#df8bd8',
    500: '#cd54c7',
    950: '#000000',
  },
}
SCSS
$custom: #cd54c7;
$custom-light: #df8bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54c7",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 199
  },
  "hsl": {
    "h": 302.975,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64278,
    "c": 0.20317,
    "h": 329.6
  },
  "luminance": 0.23443
}

Semantic roles & 50–950 ramp

primary
#CD54C7
secondary
#A6D7A8
accent
#DE514A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD54C7

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

Preview Lab → · Contrast checker → · Palette generator →

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