#CD51CB#CD51CB

#CD51CB is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.1% C 0.211 H 328.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CD51CB
RGBrgb(205, 81, 203)
HSLhsl(301, 55%, 56%)
HSVhsv(301, 60%, 80%)
CMYKcmyk(0%, 60.5%, 1%, 19.6%)
CIE-LABlab(55.26, 64.09, -40.12)
CIE-LCHlch(55.26, 75.61, 327.95°)
OKLaboklab(64.14% 0.1793 -0.1106)
OKLCHoklch(64.14% 0.211 328.3)
XYZxyz(38.8983, 23.1784, 58.9134)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51CB #51CD53
analogous
#9151CD #CD51CB #CD518D
triadic
#CD51CB #CBCD51 #51CBCD
tetradic
#CD51CB #CD9151 #51CD53 #518DCD
square
#CD51CB #CD9151 #51CD53 #518DCD
split-complementary
#CD51CB #8DCD51 #51CD91
monochromatic
#7F257E #AF32AD #CD51CB #DB81D9 #E8B0E7

Accessibility & contrast

On white

3.73
#CD51CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CD51CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51CB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51CB#FFFFFF#000000##000000
##CD51CB1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#6F8AC8
Tritanopia (blue-blind)
#D36087
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd51cb;
/* rgb */ color: rgb(205, 81, 203);
/* oklch */ color: oklch(64.1% 0.211 328.3);
Tailwind
colors: {
  custom: {
    50: '#df8adb',
    500: '#cd51cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd51cb;
$custom-light: #df8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51cb",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 300.968,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64141,
    "c": 0.21063,
    "h": 328.3
  },
  "luminance": 0.23176
}

Semantic roles & 50–950 ramp

primary
#CD51CB
secondary
#A3D7A4
accent
#DF4C49
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD51CB

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

Preview Lab → · Contrast checker → · Palette generator →

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