#DB51D8#DB51D8

#DB51D8 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.229 H 328.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#DB51D8
RGBrgb(219, 81, 216)
HSLhsl(301, 66%, 59%)
HSVhsv(301, 63%, 86%)
CMYKcmyk(0%, 63%, 1.4%, 14.1%)
CIE-LABlab(57.95, 69.65, -43.13)
CIE-LCHlch(57.95, 81.93, 328.24°)
OKLaboklab(66.71% 0.1953 -0.119)
OKLCHoklch(66.71% 0.229 328.7)
XYZxyz(44.5500, 25.9059, 67.6063)
Luminance0.2590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51D8 #51DB54
analogous
#9951DB #DB51D8 #DB5193
triadic
#DB51D8 #D8DB51 #51D8DB
tetradic
#DB51D8 #DB9951 #51DB54 #5193DB
square
#DB51D8 #DB9951 #51DB54 #5193DB
split-complementary
#DB51D8 #93DB51 #51DB99
monochromatic
#931E91 #C629C2 #DB51D8 #E584E3 #F0B6EF

Accessibility & contrast

On white

3.40
#DB51D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#DB51D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51D8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51D8#FFFFFF#000000##000000
##DB51D81.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#427FDC
Deuteranopia (green-blind)
#7492D4
Tritanopia (blue-blind)
#E2628E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #db51d8;
/* rgb */ color: rgb(219, 81, 216);
/* oklch */ color: oklch(66.7% 0.229 328.7);
Tailwind
colors: {
  custom: {
    50: '#ea8be4',
    500: '#db51d8',
    950: '#000000',
  },
}
SCSS
$custom: #db51d8;
$custom-light: #ea8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#db51d8",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 301.304,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66713,
    "c": 0.22866,
    "h": 328.7
  },
  "luminance": 0.25903
}

Semantic roles & 50–950 ramp

primary
#DB51D8
secondary
#A9DFAA
accent
#E9433F
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #DB51D8

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

Preview Lab → · Contrast checker → · Palette generator →

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