#CD54C2#CD54C2

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

Color values

HEX#CD54C2
RGBrgb(205, 84, 194)
HSLhsl(305, 55%, 57%)
HSVhsv(305, 59%, 80%)
CMYKcmyk(0%, 59%, 5.4%, 19.6%)
CIE-LABlab(55.30, 61.31, -34.90)
CIE-LCHlch(55.30, 70.54, 330.35°)
OKLaboklab(64.03% 0.1747 -0.0956)
OKLCHoklch(64.03% 0.199 331.3)
XYZxyz(38.0846, 23.2175, 53.5040)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54C2 #54CD5F
analogous
#9C54CD #CD54C2 #CD5486
triadic
#CD54C2 #C2CD54 #54C2CD
tetradic
#CD54C2 #CD9C54 #54CD5F #5486CD
square
#CD54C2 #CD9C54 #54CD5F #5486CD
split-complementary
#CD54C2 #86CD54 #54CD9C
monochromatic
#812679 #B034A5 #CD54C2 #DB83D3 #E9B3E4

Accessibility & contrast

On white

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

On black

5.64
#CD54C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54C2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54C2#FFFFFF#000000##000000
##CD54C21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd54c2;
/* rgb */ color: rgb(205, 84, 194);
/* oklch */ color: oklch(64.0% 0.199 331.3);
Tailwind
colors: {
  custom: {
    50: '#df8bd5',
    500: '#cd54c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd54c2;
$custom-light: #df8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54c2",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 305.455,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64032,
    "c": 0.19912,
    "h": 331.3
  },
  "luminance": 0.23215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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