#CD51C3#CD51C3

#CD51C3 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.7% C 0.204 H 331.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CD51C3
RGBrgb(205, 81, 195)
HSLhsl(305, 55%, 56%)
HSVhsv(305, 60%, 80%)
CMYKcmyk(0%, 60.5%, 4.9%, 19.6%)
CIE-LABlab(54.87, 62.76, -36.14)
CIE-LCHlch(54.87, 72.42, 330.07°)
OKLaboklab(63.74% 0.1785 -0.0991)
OKLCHoklch(63.74% 0.204 331)
XYZxyz(37.9694, 22.8068, 54.0215)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51C3 #51CD5B
analogous
#9951CD #CD51C3 #CD5185
triadic
#CD51C3 #C3CD51 #51C3CD
tetradic
#CD51C3 #CD9951 #51CD5B #5185CD
square
#CD51C3 #CD9951 #51CD5B #5185CD
split-complementary
#CD51C3 #85CD51 #51CD99
monochromatic
#7F2578 #AF32A5 #CD51C3 #DB81D3 #E8B0E4

Accessibility & contrast

On white

3.78
#CD51C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CD51C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51C3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51C3#FFFFFF#000000##000000
##CD51C31.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C6
Deuteranopia (green-blind)
#738AC0
Tritanopia (blue-blind)
#D55D83
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd51c3;
/* rgb */ color: rgb(205, 81, 195);
/* oklch */ color: oklch(63.7% 0.204 331.0);
Tailwind
colors: {
  custom: {
    50: '#df89d5',
    500: '#cd51c3',
    950: '#000000',
  },
}
SCSS
$custom: #cd51c3;
$custom-light: #df89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51c3",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 195
  },
  "hsl": {
    "h": 304.839,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63738,
    "c": 0.20416,
    "h": 331
  },
  "luminance": 0.22804
}

Semantic roles & 50–950 ramp

primary
#CD51C3
secondary
#A3D7A7
accent
#DF5549
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD51C3

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

Preview Lab → · Contrast checker → · Palette generator →

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