#DC51CF#DC51CF

#DC51CF is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.222 H 331.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#DC51CF
RGBrgb(220, 81, 207)
HSLhsl(306, 67%, 59%)
HSVhsv(306, 63%, 86%)
CMYKcmyk(0%, 63.2%, 5.9%, 13.7%)
CIE-LABlab(57.66, 68.45, -38.46)
CIE-LCHlch(57.66, 78.52, 330.67°)
OKLaboklab(66.4% 0.1956 -0.1055)
OKLCHoklch(66.4% 0.222 331.7)
XYZxyz(43.7201, 25.6088, 61.6597)
Luminance0.2560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51CF #51DC5E
analogous
#A451DC #DC51CF #DC518A
triadic
#DC51CF #CFDC51 #51CFDC
tetradic
#DC51CF #DCA451 #51DC5E #518ADC
square
#DC51CF #DCA451 #51DC5E #518ADC
split-complementary
#DC51CF #8ADC51 #51DCA4
monochromatic
#951E8A #C828B9 #DC51CF #E684DD #F0B7EB

Accessibility & contrast

On white

3.43
#DC51CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#DC51CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51CF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51CF#FFFFFF#000000##000000
##DC51CF1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED3
Deuteranopia (green-blind)
#7992CB
Tritanopia (blue-blind)
#E55E89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #dc51cf;
/* rgb */ color: rgb(220, 81, 207);
/* oklch */ color: oklch(66.4% 0.222 331.7);
Tailwind
colors: {
  custom: {
    50: '#ea8bde',
    500: '#dc51cf',
    950: '#000000',
  },
}
SCSS
$custom: #dc51cf;
$custom-light: #ea8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51cf",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 305.612,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66396,
    "c": 0.22223,
    "h": 331.7
  },
  "luminance": 0.25605
}

Semantic roles & 50–950 ramp

primary
#DC51CF
secondary
#A9E0AE
accent
#E94E3E
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DC51CF

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

Preview Lab → · Contrast checker → · Palette generator →

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