#DC51DB#DC51DB

#DC51DB is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.232 H 328.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#DC51DB
RGBrgb(220, 81, 219)
HSLhsl(300, 67%, 59%)
HSVhsv(300, 63%, 86%)
CMYKcmyk(0%, 63.2%, 0.5%, 13.7%)
CIE-LABlab(58.24, 70.38, -44.35)
CIE-LCHlch(58.24, 83.19, 327.79°)
OKLaboklab(67% 0.1965 -0.1225)
OKLCHoklch(67% 0.232 328.1)
XYZxyz(45.2432, 26.2180, 69.6817)
Luminance0.2621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51DB #51DC52
analogous
#9851DC #DC51DB #DC5196
triadic
#DC51DB #DBDC51 #51DBDC
tetradic
#DC51DB #DC9851 #51DC52 #5196DC
square
#DC51DB #DC9851 #51DC52 #5196DC
split-complementary
#DC51DB #96DC51 #51DC98
monochromatic
#951E94 #C828C6 #DC51DB #E684E6 #F0B7F0

Accessibility & contrast

On white

3.36
#DC51DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#DC51DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51DB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51DB#FFFFFF#000000##000000
##DC51DB1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80DF
Deuteranopia (green-blind)
#7392D7
Tritanopia (blue-blind)
#E3638F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dc51db;
/* rgb */ color: rgb(220, 81, 219);
/* oklch */ color: oklch(67.0% 0.232 328.1);
Tailwind
colors: {
  custom: {
    50: '#ea8be6',
    500: '#dc51db',
    950: '#000000',
  },
}
SCSS
$custom: #dc51db;
$custom-light: #ea8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51db",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 300.432,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.67004,
    "c": 0.23156,
    "h": 328.1
  },
  "luminance": 0.26215
}

Semantic roles & 50–950 ramp

primary
#DC51DB
secondary
#A9E0AA
accent
#E9403E
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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