#DB51C7#DB51C7

#DB51C7 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.9% C 0.216 H 333.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#DB51C7
RGBrgb(219, 81, 199)
HSLhsl(309, 66%, 59%)
HSVhsv(309, 63%, 86%)
CMYKcmyk(0%, 63%, 9.1%, 14.1%)
CIE-LABlab(57.15, 66.96, -34.72)
CIE-LCHlch(57.15, 75.42, 332.59°)
OKLaboklab(65.87% 0.1937 -0.0948)
OKLCHoklch(65.87% 0.216 333.9)
XYZxyz(42.4649, 25.0718, 56.6245)
Luminance0.2507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51C7 #51DB65
analogous
#AA51DB #DB51C7 #DB5182
triadic
#DB51C7 #C7DB51 #51C7DB
tetradic
#DB51C7 #DBAA51 #51DB65 #5182DB
square
#DB51C7 #DBAA51 #51DB65 #5182DB
split-complementary
#DB51C7 #82DB51 #51DBAA
monochromatic
#931E82 #C629AF #DB51C7 #E584D7 #F0B6E8

Accessibility & contrast

On white

3.49
#DB51C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#DB51C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51C7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51C7#FFFFFF#000000##000000
##DB51C71.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7CCB
Deuteranopia (green-blind)
#7C90C3
Tritanopia (blue-blind)
#E55B85
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #db51c7;
/* rgb */ color: rgb(219, 81, 199);
/* oklch */ color: oklch(65.9% 0.216 333.9);
Tailwind
colors: {
  custom: {
    50: '#e98bd8',
    500: '#db51c7',
    950: '#000000',
  },
}
SCSS
$custom: #db51c7;
$custom-light: #e98bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#db51c7",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 308.696,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65869,
    "c": 0.21563,
    "h": 333.9
  },
  "luminance": 0.25068
}

Semantic roles & 50–950 ramp

primary
#DB51C7
secondary
#A9DFB1
accent
#E9583F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DB51C7

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

Preview Lab → · Contrast checker → · Palette generator →

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