#DB51D5#DB51D5

#DB51D5 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.6% C 0.226 H 329.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#DB51D5
RGBrgb(219, 81, 213)
HSLhsl(303, 66%, 59%)
HSVhsv(303, 63%, 86%)
CMYKcmyk(0%, 63%, 2.7%, 14.1%)
CIE-LABlab(57.80, 69.17, -41.66)
CIE-LCHlch(57.80, 80.74, 328.94°)
OKLaboklab(66.56% 0.1951 -0.1147)
OKLCHoklch(66.56% 0.226 329.5)
XYZxyz(44.1657, 25.7521, 65.5823)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51D5 #51DB57
analogous
#9C51DB #DB51D5 #DB5190
triadic
#DB51D5 #D5DB51 #51D5DB
tetradic
#DB51D5 #DB9C51 #51DB57 #5190DB
square
#DB51D5 #DB9C51 #51DB57 #5190DB
split-complementary
#DB51D5 #90DB51 #51DB9C
monochromatic
#931E8E #C629BF #DB51D5 #E584E1 #F0B6ED

Accessibility & contrast

On white

3.41
#DB51D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#DB51D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51D5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51D5#FFFFFF#000000##000000
##DB51D51.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#447FD9
Deuteranopia (green-blind)
#7591D1
Tritanopia (blue-blind)
#E2618C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #db51d5;
/* rgb */ color: rgb(219, 81, 213);
/* oklch */ color: oklch(66.6% 0.226 329.5);
Tailwind
colors: {
  custom: {
    50: '#ea8be2',
    500: '#db51d5',
    950: '#000000',
  },
}
SCSS
$custom: #db51d5;
$custom-light: #ea8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#db51d5",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 302.609,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66559,
    "c": 0.2263,
    "h": 329.5
  },
  "luminance": 0.25749
}

Semantic roles & 50–950 ramp

primary
#DB51D5
secondary
#A9DFAB
accent
#E9473F
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DB51D5

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

Preview Lab → · Contrast checker → · Palette generator →

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