#DB51D1#DB51D1

#DB51D1 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.223 H 330.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#DB51D1
RGBrgb(219, 81, 209)
HSLhsl(304, 66%, 59%)
HSVhsv(304, 63%, 86%)
CMYKcmyk(0%, 63%, 4.6%, 14.1%)
CIE-LABlab(57.61, 68.52, -39.69)
CIE-LCHlch(57.61, 79.19, 329.92°)
OKLaboklab(66.36% 0.1947 -0.109)
OKLCHoklch(66.36% 0.223 330.8)
XYZxyz(43.6643, 25.5516, 62.9414)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51D1 #51DB5B
analogous
#A051DB #DB51D1 #DB518C
triadic
#DB51D1 #D1DB51 #51D1DB
tetradic
#DB51D1 #DBA051 #51DB5B #518CDB
square
#DB51D1 #DBA051 #51DB5B #518CDB
split-complementary
#DB51D1 #8CDB51 #51DBA0
monochromatic
#931E8B #C629BA #DB51D1 #E584DE #F0B6EC

Accessibility & contrast

On white

3.44
#DB51D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#DB51D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51D1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51D1#FFFFFF#000000##000000
##DB51D11.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ED5
Deuteranopia (green-blind)
#7791CD
Tritanopia (blue-blind)
#E35F8A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #db51d1;
/* rgb */ color: rgb(219, 81, 209);
/* oklch */ color: oklch(66.4% 0.223 330.8);
Tailwind
colors: {
  custom: {
    50: '#ea8bdf',
    500: '#db51d1',
    950: '#000000',
  },
}
SCSS
$custom: #db51d1;
$custom-light: #ea8bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#db51d1",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 304.348,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66357,
    "c": 0.22319,
    "h": 330.8
  },
  "luminance": 0.25548
}

Semantic roles & 50–950 ramp

primary
#DB51D1
secondary
#A9DFAD
accent
#E94B3F
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DB51D1

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

Preview Lab → · Contrast checker → · Palette generator →

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