#CD51C0#CD51C0

#CD51C0 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.6% C 0.202 H 332.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CD51C0
RGBrgb(205, 81, 192)
HSLhsl(306, 55%, 56%)
HSVhsv(306, 60%, 80%)
CMYKcmyk(0%, 60.5%, 6.3%, 19.6%)
CIE-LABlab(54.73, 62.27, -34.63)
CIE-LCHlch(54.73, 71.25, 330.92°)
OKLaboklab(63.59% 0.1781 -0.0948)
OKLCHoklch(63.59% 0.202 332)
XYZxyz(37.6336, 22.6725, 52.2530)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51C0 #51CD5E
analogous
#9C51CD #CD51C0 #CD5182
triadic
#CD51C0 #C0CD51 #51C0CD
tetradic
#CD51C0 #CD9C51 #51CD5E #5182CD
square
#CD51C0 #CD9C51 #51CD5E #5182CD
split-complementary
#CD51C0 #82CD51 #51CD9C
monochromatic
#7F2576 #AF32A2 #CD51C0 #DB81D1 #E8B0E2

Accessibility & contrast

On white

3.79
#CD51C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CD51C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51C0
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51C0#FFFFFF#000000##000000
##CD51C01.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C3
Deuteranopia (green-blind)
#7489BD
Tritanopia (blue-blind)
#D55C81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd51c0;
/* rgb */ color: rgb(205, 81, 192);
/* oklch */ color: oklch(63.6% 0.202 332.0);
Tailwind
colors: {
  custom: {
    50: '#df89d3',
    500: '#cd51c0',
    950: '#000000',
  },
}
SCSS
$custom: #cd51c0;
$custom-light: #df89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51c0",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 192
  },
  "hsl": {
    "h": 306.29,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63591,
    "c": 0.20179,
    "h": 332
  },
  "luminance": 0.2267
}

Semantic roles & 50–950 ramp

primary
#CD51C0
secondary
#A3D7A9
accent
#DF5949
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD51C0

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

Preview Lab → · Contrast checker → · Palette generator →

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