#CD51CA#CD51CA

#CD51CA is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.1% C 0.210 H 328.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CD51CA
RGBrgb(205, 81, 202)
HSLhsl(301, 55%, 56%)
HSVhsv(301, 60%, 80%)
CMYKcmyk(0%, 60.5%, 1.5%, 19.6%)
CIE-LABlab(55.21, 63.92, -39.62)
CIE-LCHlch(55.21, 75.20, 328.20°)
OKLaboklab(64.09% 0.1792 -0.1091)
OKLCHoklch(64.09% 0.21 328.7)
XYZxyz(38.7795, 23.1308, 58.2878)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51CA #51CD54
analogous
#9251CD #CD51CA #CD518C
triadic
#CD51CA #CACD51 #51CACD
tetradic
#CD51CA #CD9251 #51CD54 #518CCD
square
#CD51CA #CD9251 #51CD54 #518CCD
split-complementary
#CD51CA #8CCD51 #51CD92
monochromatic
#7F257D #AF32AC #CD51CA #DB81D8 #E8B0E7

Accessibility & contrast

On white

3.73
#CD51CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CD51CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51CA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51CA#FFFFFF#000000##000000
##CD51CA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ACE
Deuteranopia (green-blind)
#6F8AC7
Tritanopia (blue-blind)
#D36086
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd51ca;
/* rgb */ color: rgb(205, 81, 202);
/* oklch */ color: oklch(64.1% 0.210 328.7);
Tailwind
colors: {
  custom: {
    50: '#df89da',
    500: '#cd51ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd51ca;
$custom-light: #df89da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51ca",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 301.452,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6409,
    "c": 0.20981,
    "h": 328.7
  },
  "luminance": 0.23128
}

Semantic roles & 50–950 ramp

primary
#CD51CA
secondary
#A3D7A5
accent
#DF4D49
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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