#CD51CE#CD51CE

#CD51CE is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.3% C 0.213 H 327.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CD51CE
RGBrgb(205, 81, 206)
HSLhsl(300, 56%, 56%)
HSVhsv(300, 61%, 81%)
CMYKcmyk(0.5%, 60.7%, 0%, 19.2%)
CIE-LABlab(55.40, 64.59, -41.60)
CIE-LCHlch(55.40, 76.83, 327.22°)
OKLaboklab(64.3% 0.1795 -0.1149)
OKLCHoklch(64.3% 0.213 327.4)
XYZxyz(39.2592, 23.3227, 60.8145)
Luminance0.2332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51CE #52CE51
analogous
#8F51CE #CD51CE #CE5191
triadic
#CD51CE #CECD51 #51CECD
tetradic
#CD51CE #CE8F51 #52CE51 #5191CE
square
#CD51CE #CE8F51 #52CE51 #5191CE
split-complementary
#CD51CE #91CE51 #51CE8F
monochromatic
#802480 #AF32B0 #CD51CE #DB81DB #E8B1E9

Accessibility & contrast

On white

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

On black

5.66
#CD51CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51CE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51CE#FFFFFF#000000##000000
##CD51CE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#417AD2
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#D36188
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd51ce;
/* rgb */ color: rgb(205, 81, 206);
/* oklch */ color: oklch(64.3% 0.213 327.4);
Tailwind
colors: {
  custom: {
    50: '#df8add',
    500: '#cd51ce',
    950: '#000000',
  },
}
SCSS
$custom: #cd51ce;
$custom-light: #df8add;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51ce",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 299.52,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64297,
    "c": 0.2131,
    "h": 327.4
  },
  "luminance": 0.2332
}

Semantic roles & 50–950 ramp

primary
#CD51CE
secondary
#A4D7A4
accent
#DF484A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD51CE

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

Preview Lab → · Contrast checker → · Palette generator →

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