#CD51BB#CD51BB

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

Color values

HEX#CD51BB
RGBrgb(205, 81, 187)
HSLhsl(309, 55%, 56%)
HSVhsv(309, 60%, 80%)
CMYKcmyk(0%, 60.5%, 8.8%, 19.6%)
CIE-LABlab(54.51, 61.47, -32.10)
CIE-LCHlch(54.51, 69.35, 332.42°)
OKLaboklab(63.35% 0.1775 -0.0876)
OKLCHoklch(63.35% 0.198 333.7)
XYZxyz(37.0890, 22.4547, 49.3848)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51BB #51CD63
analogous
#A151CD #CD51BB #CD517D
triadic
#CD51BB #BBCD51 #51BBCD
tetradic
#CD51BB #CDA151 #51CD63 #517DCD
square
#CD51BB #CDA151 #51CD63 #517DCD
split-complementary
#CD51BB #7DCD51 #51CDA1
monochromatic
#7F2572 #AF329D #CD51BB #DB81CE #E8B0E0

Accessibility & contrast

On white

3.82
#CD51BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CD51BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51BB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51BB#FFFFFF#000000##000000
##CD51BB1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BE
Deuteranopia (green-blind)
#7689B8
Tritanopia (blue-blind)
#D65A7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd51bb;
/* rgb */ color: rgb(205, 81, 187);
/* oklch */ color: oklch(63.4% 0.198 333.7);
Tailwind
colors: {
  custom: {
    50: '#df89d0',
    500: '#cd51bb',
    950: '#000000',
  },
}
SCSS
$custom: #cd51bb;
$custom-light: #df89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51bb",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 308.71,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63351,
    "c": 0.19791,
    "h": 333.7
  },
  "luminance": 0.22452
}

Semantic roles & 50–950 ramp

primary
#CD51BB
secondary
#A3D7AB
accent
#DF5F49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD51BB

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

Preview Lab → · Contrast checker → · Palette generator →

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