#CD51D5#CD51D5

#CD51D5 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.219 H 325.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CD51D5
RGBrgb(205, 81, 213)
HSLhsl(296, 61%, 58%)
HSVhsv(296, 62%, 84%)
CMYKcmyk(3.8%, 62%, 0%, 16.5%)
CIE-LABlab(55.76, 65.80, -45.02)
CIE-LCHlch(55.76, 79.73, 325.62°)
OKLaboklab(64.67% 0.1799 -0.1248)
OKLCHoklch(64.67% 0.219 325.3)
XYZxyz(40.1286, 23.6705, 65.3931)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51D5 #59D551
analogous
#8B51D5 #CD51D5 #D5519B
triadic
#CD51D5 #D5CD51 #51D5CD
tetradic
#CD51D5 #D58B51 #59D551 #519BD5
square
#CD51D5 #D58B51 #59D551 #519BD5
split-complementary
#CD51D5 #9BD551 #51D58B
monochromatic
#84218A #B32DBC #CD51D5 #DB82E1 #E9B4ED

Accessibility & contrast

On white

3.66
#CD51D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CD51D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51D5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51D5#FFFFFF#000000##000000
##CD51D51.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7CD9
Deuteranopia (green-blind)
#6A8BD1
Tritanopia (blue-blind)
#D2648C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd51d5;
/* rgb */ color: rgb(205, 81, 213);
/* oklch */ color: oklch(64.7% 0.219 325.3);
Tailwind
colors: {
  custom: {
    50: '#df8ae2',
    500: '#cd51d5',
    950: '#000000',
  },
}
SCSS
$custom: #cd51d5;
$custom-light: #df8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51d5",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 296.364,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64668,
    "c": 0.21895,
    "h": 325.3
  },
  "luminance": 0.23668
}

Semantic roles & 50–950 ramp

primary
#CD51D5
secondary
#AADBA6
accent
#E4444D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD51D5

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

Preview Lab → · Contrast checker → · Palette generator →

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