#CD51BF#CD51BF

#CD51BF is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.5% C 0.201 H 332.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CD51BF
RGBrgb(205, 81, 191)
HSLhsl(307, 55%, 56%)
HSVhsv(307, 60%, 80%)
CMYKcmyk(0%, 60.5%, 6.8%, 19.6%)
CIE-LABlab(54.69, 62.11, -34.13)
CIE-LCHlch(54.69, 70.87, 331.21°)
OKLaboklab(63.54% 0.178 -0.0933)
OKLCHoklch(63.54% 0.201 332.3)
XYZxyz(37.5232, 22.6283, 51.6715)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51BF #51CD5F
analogous
#9D51CD #CD51BF #CD5181
triadic
#CD51BF #BFCD51 #51BFCD
tetradic
#CD51BF #CD9D51 #51CD5F #5181CD
square
#CD51BF #CD9D51 #51CD5F #5181CD
split-complementary
#CD51BF #81CD51 #51CD9D
monochromatic
#7F2575 #AF32A1 #CD51BF #DB81D0 #E8B0E2

Accessibility & contrast

On white

3.80
#CD51BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD51BF#FFFFFF#000000##000000
##CD51BF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C2
Deuteranopia (green-blind)
#7589BC
Tritanopia (blue-blind)
#D55B81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd51bf;
/* rgb */ color: rgb(205, 81, 191);
/* oklch */ color: oklch(63.5% 0.201 332.3);
Tailwind
colors: {
  custom: {
    50: '#df89d2',
    500: '#cd51bf',
    950: '#000000',
  },
}
SCSS
$custom: #cd51bf;
$custom-light: #df89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51bf",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 306.774,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63542,
    "c": 0.20101,
    "h": 332.3
  },
  "luminance": 0.22626
}

Semantic roles & 50–950 ramp

primary
#CD51BF
secondary
#A3D7A9
accent
#DF5A49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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