#DB51D9#DB51D9

#DB51D9 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.229 H 328.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#DB51D9
RGBrgb(219, 81, 217)
HSLhsl(301, 66%, 59%)
HSVhsv(301, 63%, 86%)
CMYKcmyk(0%, 63%, 0.9%, 14.1%)
CIE-LABlab(58.00, 69.82, -43.62)
CIE-LCHlch(58.00, 82.32, 328.01°)
OKLaboklab(66.76% 0.1953 -0.1204)
OKLCHoklch(66.76% 0.229 328.4)
XYZxyz(44.6797, 25.9577, 68.2892)
Luminance0.2596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51D9 #51DB53
analogous
#9851DB #DB51D9 #DB5194
triadic
#DB51D9 #D9DB51 #51D9DB
tetradic
#DB51D9 #DB9851 #51DB53 #5194DB
square
#DB51D9 #DB9851 #51DB53 #5194DB
split-complementary
#DB51D9 #94DB51 #51DB98
monochromatic
#931E91 #C629C4 #DB51D9 #E584E4 #F0B6EF

Accessibility & contrast

On white

3.39
#DB51D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#DB51D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51D9
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51D9#FFFFFF#000000##000000
##DB51D91.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DD
Deuteranopia (green-blind)
#7392D5
Tritanopia (blue-blind)
#E2638E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #db51d9;
/* rgb */ color: rgb(219, 81, 217);
/* oklch */ color: oklch(66.8% 0.229 328.4);
Tailwind
colors: {
  custom: {
    50: '#ea8be5',
    500: '#db51d9',
    950: '#000000',
  },
}
SCSS
$custom: #db51d9;
$custom-light: #ea8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#db51d9",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 300.87,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66764,
    "c": 0.22945,
    "h": 328.4
  },
  "luminance": 0.25955
}

Semantic roles & 50–950 ramp

primary
#DB51D9
secondary
#A9DFAA
accent
#E9423F
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB51D9

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

Preview Lab → · Contrast checker → · Palette generator →

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