#CD54C3#CD54C3

#CD54C3 is a light, vivid purple. Relative luminance 0.233; OKLCH L 64.1% C 0.200 H 331.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CD54C3
RGBrgb(205, 84, 195)
HSLhsl(305, 55%, 57%)
HSVhsv(305, 59%, 80%)
CMYKcmyk(0%, 59%, 4.9%, 19.6%)
CIE-LABlab(55.34, 61.47, -35.40)
CIE-LCHlch(55.34, 70.94, 330.06°)
OKLaboklab(64.08% 0.1748 -0.097)
OKLCHoklch(64.08% 0.2 331)
XYZxyz(38.1973, 23.2626, 54.0974)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54C3 #54CD5E
analogous
#9B54CD #CD54C3 #CD5487
triadic
#CD54C3 #C3CD54 #54C3CD
tetradic
#CD54C3 #CD9B54 #54CD5E #5487CD
square
#CD54C3 #CD9B54 #54CD5E #5487CD
split-complementary
#CD54C3 #87CD54 #54CD9B
monochromatic
#812679 #B034A6 #CD54C3 #DB83D4 #E9B3E4

Accessibility & contrast

On white

3.72
#CD54C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CD54C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54C3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54C3#FFFFFF#000000##000000
##CD54C31.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7AC6
Deuteranopia (green-blind)
#748BC0
Tritanopia (blue-blind)
#D55F84
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd54c3;
/* rgb */ color: rgb(205, 84, 195);
/* oklch */ color: oklch(64.1% 0.200 331.0);
Tailwind
colors: {
  custom: {
    50: '#df8bd5',
    500: '#cd54c3',
    950: '#000000',
  },
}
SCSS
$custom: #cd54c3;
$custom-light: #df8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54c3",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 304.959,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6408,
    "c": 0.19992,
    "h": 331
  },
  "luminance": 0.2326
}

Semantic roles & 50–950 ramp

primary
#CD54C3
secondary
#A6D7AA
accent
#DE564A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD54C3

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

Preview Lab → · Contrast checker → · Palette generator →

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