#CD54C1#CD54C1

#CD54C1 is a light, vivid purple. Relative luminance 0.232; OKLCH L 64.0% C 0.198 H 331.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CD54C1
RGBrgb(205, 84, 193)
HSLhsl(306, 55%, 57%)
HSVhsv(306, 59%, 80%)
CMYKcmyk(0%, 59%, 5.9%, 19.6%)
CIE-LABlab(55.25, 61.14, -34.40)
CIE-LCHlch(55.25, 70.15, 330.64°)
OKLaboklab(63.98% 0.1745 -0.0941)
OKLCHoklch(63.98% 0.198 331.7)
XYZxyz(37.9727, 23.1727, 52.9145)
Luminance0.2317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54C1 #54CD60
analogous
#9C54CD #CD54C1 #CD5485
triadic
#CD54C1 #C1CD54 #54C1CD
tetradic
#CD54C1 #CD9C54 #54CD60 #5485CD
square
#CD54C1 #CD9C54 #54CD60 #5485CD
split-complementary
#CD54C1 #85CD54 #54CD9C
monochromatic
#812678 #B034A4 #CD54C1 #DB83D2 #E9B3E3

Accessibility & contrast

On white

3.73
#CD54C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CD54C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54C1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54C1#FFFFFF#000000##000000
##CD54C11.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C4
Deuteranopia (green-blind)
#758ABE
Tritanopia (blue-blind)
#D55F83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd54c1;
/* rgb */ color: rgb(205, 84, 193);
/* oklch */ color: oklch(64.0% 0.198 331.7);
Tailwind
colors: {
  custom: {
    50: '#df8bd4',
    500: '#cd54c1',
    950: '#000000',
  },
}
SCSS
$custom: #cd54c1;
$custom-light: #df8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54c1",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 193
  },
  "hsl": {
    "h": 305.95,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63983,
    "c": 0.19831,
    "h": 331.7
  },
  "luminance": 0.2317
}

Semantic roles & 50–950 ramp

primary
#CD54C1
secondary
#A6D7AB
accent
#DE584A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD54C1

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

Preview Lab → · Contrast checker → · Palette generator →

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