#DC51E6#DC51E6

#DC51E6 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.6% C 0.240 H 325.0°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#DC51E6
RGBrgb(220, 81, 230)
HSLhsl(296, 75%, 61%)
HSVhsv(296, 65%, 90%)
CMYKcmyk(4.3%, 64.8%, 0%, 9.8%)
CIE-LABlab(58.80, 72.22, -49.65)
CIE-LCHlch(58.80, 87.64, 325.50°)
OKLaboklab(67.59% 0.197 -0.1378)
OKLCHoklch(67.59% 0.24 325)
XYZxyz(46.7395, 26.8165, 77.5618)
Luminance0.2681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51E6 #5BE651
analogous
#9151E6 #DC51E6 #E651A5
triadic
#DC51E6 #E6DC51 #51E6DC
tetradic
#DC51E6 #E69151 #5BE651 #51A5E6
square
#DC51E6 #E69151 #5BE651 #51A5E6
split-complementary
#DC51E6 #A5E651 #51E691
monochromatic
#9B18A5 #CE1FDA #DC51E6 #E787EE #F2BCF5

Accessibility & contrast

On white

3.30
#DC51E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#DC51E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51E6
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51E6#FFFFFF#000000##000000
##DC51E61.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EA
Deuteranopia (green-blind)
#6D93E2
Tritanopia (blue-blind)
#E16895
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #dc51e6;
/* rgb */ color: rgb(220, 81, 230);
/* oklch */ color: oklch(67.6% 0.240 325.0);
Tailwind
colors: {
  custom: {
    50: '#ea8cee',
    500: '#dc51e6',
    950: '#000000',
  },
}
SCSS
$custom: #dc51e6;
$custom-light: #ea8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51e6",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 295.973,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67591,
    "c": 0.2404,
    "h": 325
  },
  "luminance": 0.26814
}

Semantic roles & 50–950 ramp

primary
#DC51E6
secondary
#B1E5AD
accent
#D70E1C
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC51E6

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

Preview Lab → · Contrast checker → · Palette generator →

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