#DC51E1#DC51E1

#DC51E1 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.3% C 0.236 H 326.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#DC51E1
RGBrgb(220, 81, 225)
HSLhsl(298, 71%, 60%)
HSVhsv(298, 64%, 88%)
CMYKcmyk(2.2%, 64%, 0%, 11.8%)
CIE-LABlab(58.55, 71.38, -47.25)
CIE-LCHlch(58.55, 85.60, 326.50°)
OKLaboklab(67.32% 0.1968 -0.1309)
OKLCHoklch(67.32% 0.236 326.4)
XYZxyz(46.0474, 26.5397, 73.9169)
Luminance0.2654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51E1 #56E151
analogous
#9451E1 #DC51E1 #E1519E
triadic
#DC51E1 #E1DC51 #51E1DC
tetradic
#DC51E1 #E19451 #56E151 #519EE1
square
#DC51E1 #E19451 #56E151 #519EE1
split-complementary
#DC51E1 #9EE151 #51E194
monochromatic
#981B9D #CB24D1 #DC51E1 #E785EA #F1B9F3

Accessibility & contrast

On white

3.33
#DC51E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#DC51E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51E1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51E1#FFFFFF#000000##000000
##DC51E11.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3981E5
Deuteranopia (green-blind)
#7093DD
Tritanopia (blue-blind)
#E26692
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #dc51e1;
/* rgb */ color: rgb(220, 81, 225);
/* oklch */ color: oklch(67.3% 0.236 326.4);
Tailwind
colors: {
  custom: {
    50: '#ea8ceb',
    500: '#dc51e1',
    950: '#000000',
  },
}
SCSS
$custom: #dc51e1;
$custom-light: #ea8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51e1",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 297.917,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.67321,
    "c": 0.23634,
    "h": 326.4
  },
  "luminance": 0.26537
}

Semantic roles & 50–950 ramp

primary
#DC51E1
secondary
#ADE3AB
accent
#ED3A41
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC51E1

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

Preview Lab → · Contrast checker → · Palette generator →

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