#CD51B0#CD51B0

#CD51B0 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.8% C 0.190 H 337.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CD51B0
RGBrgb(205, 81, 176)
HSLhsl(314, 55%, 56%)
HSVhsv(314, 60%, 80%)
CMYKcmyk(0%, 60.5%, 14.1%, 19.6%)
CIE-LABlab(54.03, 59.77, -26.47)
CIE-LCHlch(54.03, 65.37, 336.11°)
OKLaboklab(62.85% 0.1757 -0.0715)
OKLCHoklch(62.85% 0.19 337.8)
XYZxyz(35.9563, 22.0016, 43.4189)
Luminance0.2200 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51B0 #51CD6E
analogous
#AC51CD #CD51B0 #CD5172
triadic
#CD51B0 #B0CD51 #51B0CD
tetradic
#CD51B0 #CDAC51 #51CD6E #5172CD
square
#CD51B0 #CDAC51 #51CD6E #5172CD
split-complementary
#CD51B0 #72CD51 #51CDAC
monochromatic
#7F256A #AF3292 #CD51B0 #DB81C6 #E8B0DB

Accessibility & contrast

On white

3.89
#CD51B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CD51B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51B0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51B0#FFFFFF#000000##000000
##CD51B01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5575B3
Deuteranopia (green-blind)
#7A88AD
Tritanopia (blue-blind)
#D75679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd51b0;
/* rgb */ color: rgb(205, 81, 176);
/* oklch */ color: oklch(62.8% 0.190 337.8);
Tailwind
colors: {
  custom: {
    50: '#df89c8',
    500: '#cd51b0',
    950: '#000000',
  },
}
SCSS
$custom: #cd51b0;
$custom-light: #df89c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51b0",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 176
  },
  "hsl": {
    "h": 314.032,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62845,
    "c": 0.18974,
    "h": 337.8
  },
  "luminance": 0.21999
}

Semantic roles & 50–950 ramp

primary
#CD51B0
secondary
#A3D7AF
accent
#DF6C49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD51B0

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

Preview Lab → · Contrast checker → · Palette generator →

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