#DC51E5#DC51E5

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

Color values

HEX#DC51E5
RGBrgb(220, 81, 229)
HSLhsl(296, 74%, 61%)
HSVhsv(296, 65%, 90%)
CMYKcmyk(3.9%, 64.6%, 0%, 10.2%)
CIE-LABlab(58.75, 72.05, -49.17)
CIE-LCHlch(58.75, 87.23, 325.69°)
OKLaboklab(67.54% 0.1969 -0.1364)
OKLCHoklch(67.54% 0.24 325.3)
XYZxyz(46.5994, 26.7605, 76.8244)
Luminance0.2676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51E5 #5AE551
analogous
#9251E5 #DC51E5 #E551A4
triadic
#DC51E5 #E5DC51 #51E5DC
tetradic
#DC51E5 #E59251 #5AE551 #51A4E5
square
#DC51E5 #E59251 #5AE551 #51A4E5
split-complementary
#DC51E5 #A4E551 #51E592
monochromatic
#9B18A3 #CD20D8 #DC51E5 #E786ED #F1BBF5

Accessibility & contrast

On white

3.31
#DC51E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#DC51E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51E5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51E5#FFFFFF#000000##000000
##DC51E51.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3582E9
Deuteranopia (green-blind)
#6E93E1
Tritanopia (blue-blind)
#E16795
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #dc51e5;
/* rgb */ color: rgb(220, 81, 229);
/* oklch */ color: oklch(67.5% 0.240 325.3);
Tailwind
colors: {
  custom: {
    50: '#ea8cee',
    500: '#dc51e5',
    950: '#000000',
  },
}
SCSS
$custom: #dc51e5;
$custom-light: #ea8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51e5",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 296.351,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67537,
    "c": 0.23958,
    "h": 325.3
  },
  "luminance": 0.26758
}

Semantic roles & 50–950 ramp

primary
#DC51E5
secondary
#B0E5AD
accent
#D60F1B
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC51E5

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

Preview Lab → · Contrast checker → · Palette generator →

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