#CD51CD#CD51CD

#CD51CD is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.2% C 0.212 H 327.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CD51CD
RGBrgb(205, 81, 205)
HSLhsl(300, 55%, 56%)
HSVhsv(300, 60%, 80%)
CMYKcmyk(0%, 60.5%, 0%, 19.6%)
CIE-LABlab(55.35, 64.42, -41.11)
CIE-LCHlch(55.35, 76.42, 327.46°)
OKLaboklab(64.24% 0.1794 -0.1134)
OKLCHoklch(64.24% 0.212 327.7)
XYZxyz(39.1381, 23.2743, 60.1767)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51CD #51CD51
analogous
#8F51CD #CD51CD #CD518F
triadic
#CD51CD #CDCD51 #51CDCD
tetradic
#CD51CD #CD8F51 #51CD51 #518FCD
square
#CD51CD #CD8F51 #51CD51 #518FCD
split-complementary
#CD51CD #8FCD51 #51CD8F
monochromatic
#7F257F #AF32AF #CD51CD #DB81DB #E8B0E8

Accessibility & contrast

On white

3.71
#CD51CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD51CD#FFFFFF#000000##000000
##CD51CD1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#6E8ACA
Tritanopia (blue-blind)
#D36188
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd51cd;
/* rgb */ color: rgb(205, 81, 205);
/* oklch */ color: oklch(64.2% 0.212 327.7);
Tailwind
colors: {
  custom: {
    50: '#df8add',
    500: '#cd51cd',
    950: '#000000',
  },
}
SCSS
$custom: #cd51cd;
$custom-light: #df8add;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51cd",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64245,
    "c": 0.21227,
    "h": 327.7
  },
  "luminance": 0.23272
}

Semantic roles & 50–950 ramp

primary
#CD51CD
secondary
#A3D7A3
accent
#DF4949
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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