#CD54CD#CD54CD

#CD54CD is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.6% C 0.208 H 327.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#CD54CD
RGBrgb(205, 84, 205)
HSLhsl(300, 55%, 57%)
HSVhsv(300, 59%, 80%)
CMYKcmyk(0%, 59%, 0%, 19.6%)
CIE-LABlab(55.82, 63.15, -40.38)
CIE-LCHlch(55.82, 74.95, 327.41°)
OKLaboklab(64.58% 0.1758 -0.1113)
OKLCHoklch(64.58% 0.208 327.7)
XYZxyz(39.3660, 23.7301, 60.2527)
Luminance0.2373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54CD #54CD54
analogous
#9154CD #CD54CD #CD5491
triadic
#CD54CD #CDCD54 #54CDCD
tetradic
#CD54CD #CD9154 #54CD54 #5491CD
square
#CD54CD #CD9154 #54CD54 #5491CD
split-complementary
#CD54CD #91CD54 #54CD91
monochromatic
#812681 #B034B0 #CD54CD #DB83DB #E9B3E9

Accessibility & contrast

On white

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

On black

5.75
#CD54CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54CD#FFFFFF#000000##000000
##CD54CD1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#708BCA
Tritanopia (blue-blind)
#D36389
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd54cd;
/* rgb */ color: rgb(205, 84, 205);
/* oklch */ color: oklch(64.6% 0.208 327.7);
Tailwind
colors: {
  custom: {
    50: '#df8bdc',
    500: '#cd54cd',
    950: '#000000',
  },
}
SCSS
$custom: #cd54cd;
$custom-light: #df8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54cd",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64581,
    "c": 0.20812,
    "h": 327.7
  },
  "luminance": 0.23728
}

Semantic roles & 50–950 ramp

primary
#CD54CD
secondary
#A6D7A6
accent
#DE4A4A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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