#CD51BD#CD51BD

#CD51BD is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.4% C 0.199 H 333.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CD51BD
RGBrgb(205, 81, 189)
HSLhsl(308, 55%, 56%)
HSVhsv(308, 60%, 80%)
CMYKcmyk(0%, 60.5%, 7.8%, 19.6%)
CIE-LABlab(54.60, 61.79, -33.12)
CIE-LCHlch(54.60, 70.10, 331.81°)
OKLaboklab(63.45% 0.1778 -0.0905)
OKLCHoklch(63.45% 0.199 333)
XYZxyz(37.3046, 22.5409, 50.5203)
Luminance0.2254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51BD #51CD61
analogous
#9F51CD #CD51BD #CD517F
triadic
#CD51BD #BDCD51 #51BDCD
tetradic
#CD51BD #CD9F51 #51CD61 #517FCD
square
#CD51BD #CD9F51 #51CD61 #517FCD
split-complementary
#CD51BD #7FCD51 #51CD9F
monochromatic
#7F2573 #AF329F #CD51BD #DB81CF #E8B0E1

Accessibility & contrast

On white

3.81
#CD51BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CD51BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51BD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51BD#FFFFFF#000000##000000
##CD51BD1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77C0
Deuteranopia (green-blind)
#7589BA
Tritanopia (blue-blind)
#D65B80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd51bd;
/* rgb */ color: rgb(205, 81, 189);
/* oklch */ color: oklch(63.4% 0.199 333.0);
Tailwind
colors: {
  custom: {
    50: '#df89d1',
    500: '#cd51bd',
    950: '#000000',
  },
}
SCSS
$custom: #cd51bd;
$custom-light: #df89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51bd",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 307.742,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63446,
    "c": 0.19945,
    "h": 333
  },
  "luminance": 0.22538
}

Semantic roles & 50–950 ramp

primary
#CD51BD
secondary
#A3D7AA
accent
#DF5C49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD51BD

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

Preview Lab → · Contrast checker → · Palette generator →

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