#CD54C5#CD54C5

#CD54C5 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.2% C 0.202 H 330.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CD54C5
RGBrgb(205, 84, 197)
HSLhsl(304, 55%, 57%)
HSVhsv(304, 59%, 80%)
CMYKcmyk(0%, 59%, 3.9%, 19.6%)
CIE-LABlab(55.43, 61.80, -36.40)
CIE-LCHlch(55.43, 71.73, 329.50°)
OKLaboklab(64.18% 0.175 -0.0999)
OKLCHoklch(64.18% 0.202 330.3)
XYZxyz(38.4249, 23.3536, 55.2963)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54C5 #54CD5C
analogous
#9954CD #CD54C5 #CD5489
triadic
#CD54C5 #C5CD54 #54C5CD
tetradic
#CD54C5 #CD9954 #54CD5C #5489CD
square
#CD54C5 #CD9954 #54CD5C #5489CD
split-complementary
#CD54C5 #89CD54 #54CD99
monochromatic
#81267B #B034A8 #CD54C5 #DB83D5 #E9B3E5

Accessibility & contrast

On white

3.70
#CD54C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CD54C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54C5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54C5#FFFFFF#000000##000000
##CD54C51.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7AC8
Deuteranopia (green-blind)
#748BC2
Tritanopia (blue-blind)
#D46085
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd54c5;
/* rgb */ color: rgb(205, 84, 197);
/* oklch */ color: oklch(64.2% 0.202 330.3);
Tailwind
colors: {
  custom: {
    50: '#df8bd7',
    500: '#cd54c5',
    950: '#000000',
  },
}
SCSS
$custom: #cd54c5;
$custom-light: #df8bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54c5",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 197
  },
  "hsl": {
    "h": 303.967,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64179,
    "c": 0.20154,
    "h": 330.3
  },
  "luminance": 0.23351
}

Semantic roles & 50–950 ramp

primary
#CD54C5
secondary
#A6D7A9
accent
#DE544A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD54C5

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

Preview Lab → · Contrast checker → · Palette generator →

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