#CD51D0#CD51D0

#CD51D0 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.4% C 0.215 H 326.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CD51D0
RGBrgb(205, 81, 208)
HSLhsl(299, 57%, 57%)
HSVhsv(299, 61%, 82%)
CMYKcmyk(1.4%, 61.1%, 0%, 18.4%)
CIE-LABlab(55.50, 64.94, -42.58)
CIE-LCHlch(55.50, 77.65, 326.75°)
OKLaboklab(64.4% 0.1796 -0.1177)
OKLCHoklch(64.4% 0.215 326.8)
XYZxyz(39.5037, 23.4205, 62.1022)
Luminance0.2342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51D0 #54D051
analogous
#8E51D0 #CD51D0 #D05194
triadic
#CD51D0 #D0CD51 #51D0CD
tetradic
#CD51D0 #D08E51 #54D051 #5194D0
square
#CD51D0 #D08E51 #54D051 #5194D0
split-complementary
#CD51D0 #94D051 #51D08E
monochromatic
#812383 #B030B3 #CD51D0 #DB81DD #E9B1EA

Accessibility & contrast

On white

3.69
#CD51D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CD51D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51D0
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51D0#FFFFFF#000000##000000
##CD51D01.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7BD4
Deuteranopia (green-blind)
#6C8BCD
Tritanopia (blue-blind)
#D26289
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd51d0;
/* rgb */ color: rgb(205, 81, 208);
/* oklch */ color: oklch(64.4% 0.215 326.8);
Tailwind
colors: {
  custom: {
    50: '#df8adf',
    500: '#cd51d0',
    950: '#000000',
  },
}
SCSS
$custom: #cd51d0;
$custom-light: #df8adf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51d0",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 298.583,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64402,
    "c": 0.21476,
    "h": 326.8
  },
  "luminance": 0.23418
}

Semantic roles & 50–950 ramp

primary
#CD51D0
secondary
#A6D8A4
accent
#E1474B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD51D0

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

Preview Lab → · Contrast checker → · Palette generator →

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