#CD51CC#CD51CC

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

Color values

HEX#CD51CC
RGBrgb(205, 81, 204)
HSLhsl(300, 55%, 56%)
HSVhsv(300, 60%, 80%)
CMYKcmyk(0%, 60.5%, 0.5%, 19.6%)
CIE-LABlab(55.30, 64.25, -40.61)
CIE-LCHlch(55.30, 76.01, 327.71°)
OKLaboklab(64.19% 0.1794 -0.112)
OKLCHoklch(64.19% 0.211 328)
XYZxyz(39.0178, 23.2262, 59.5430)
Luminance0.2322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51CC #51CD52
analogous
#9051CD #CD51CC #CD518E
triadic
#CD51CC #CCCD51 #51CCCD
tetradic
#CD51CC #CD9051 #51CD52 #518ECD
square
#CD51CC #CD9051 #51CD52 #518ECD
split-complementary
#CD51CC #8ECD51 #51CD90
monochromatic
#7F257E #AF32AE #CD51CC #DB81DA #E8B0E8

Accessibility & contrast

On white

3.72
#CD51CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD51CC#FFFFFF#000000##000000
##CD51CC1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD0
Deuteranopia (green-blind)
#6E8AC9
Tritanopia (blue-blind)
#D36087
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd51cc;
/* rgb */ color: rgb(205, 81, 204);
/* oklch */ color: oklch(64.2% 0.211 328.0);
Tailwind
colors: {
  custom: {
    50: '#df8adc',
    500: '#cd51cc',
    950: '#000000',
  },
}
SCSS
$custom: #cd51cc;
$custom-light: #df8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51cc",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 300.484,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64193,
    "c": 0.21145,
    "h": 328
  },
  "luminance": 0.23224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD51CC

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

Preview Lab → · Contrast checker → · Palette generator →

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