#CD54CE#CD54CE

#CD54CE is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.6% C 0.209 H 327.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CD54CE
RGBrgb(205, 84, 206)
HSLhsl(300, 55%, 57%)
HSVhsv(300, 59%, 81%)
CMYKcmyk(0.5%, 59.2%, 0%, 19.2%)
CIE-LABlab(55.87, 63.32, -40.87)
CIE-LCHlch(55.87, 75.37, 327.16°)
OKLaboklab(64.63% 0.1759 -0.1128)
OKLCHoklch(64.63% 0.209 327.3)
XYZxyz(39.4871, 23.7785, 60.8904)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54CE #55CE54
analogous
#9054CE #CD54CE #CE5492
triadic
#CD54CE #CECD54 #54CECD
tetradic
#CD54CE #CE9054 #55CE54 #5492CE
square
#CD54CE #CE9054 #55CE54 #5492CE
split-complementary
#CD54CE #92CE54 #54CE90
monochromatic
#822582 #B133B2 #CD54CE #DB84DC #E9B3E9

Accessibility & contrast

On white

3.65
#CD54CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CD54CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54CE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54CE#FFFFFF#000000##000000
##CD54CE1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD2
Deuteranopia (green-blind)
#6F8BCB
Tritanopia (blue-blind)
#D36389
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd54ce;
/* rgb */ color: rgb(205, 84, 206);
/* oklch */ color: oklch(64.6% 0.209 327.3);
Tailwind
colors: {
  custom: {
    50: '#df8bdd',
    500: '#cd54ce',
    950: '#000000',
  },
}
SCSS
$custom: #cd54ce;
$custom-light: #df8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54ce",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 299.508,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64633,
    "c": 0.20895,
    "h": 327.3
  },
  "luminance": 0.23776
}

Semantic roles & 50–950 ramp

primary
#CD54CE
secondary
#A6D8A6
accent
#DF494A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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