#DB51E6#DB51E6

#DB51E6 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.5% C 0.240 H 324.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#DB51E6
RGBrgb(219, 81, 230)
HSLhsl(296, 75%, 61%)
HSVhsv(296, 65%, 90%)
CMYKcmyk(4.8%, 64.8%, 0%, 9.8%)
CIE-LABlab(58.66, 72.00, -49.88)
CIE-LCHlch(58.66, 87.59, 325.28°)
OKLaboklab(67.46% 0.1959 -0.1385)
OKLCHoklch(67.46% 0.24 324.7)
XYZxyz(46.4376, 26.6609, 77.5477)
Luminance0.2666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51E6 #5CE651
analogous
#9051E6 #DB51E6 #E651A7
triadic
#DB51E6 #E6DB51 #51E6DB
tetradic
#DB51E6 #E69051 #5CE651 #51A7E6
square
#DB51E6 #E69051 #5CE651 #51A7E6
split-complementary
#DB51E6 #A7E651 #51E690
monochromatic
#9A18A5 #CD1FDA #DB51E6 #E687EE #F1BCF5

Accessibility & contrast

On white

3.32
#DB51E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#DB51E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51E6
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51E6#FFFFFF#000000##000000
##DB51E61.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3282EA
Deuteranopia (green-blind)
#6C93E2
Tritanopia (blue-blind)
#DF6895
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #db51e6;
/* rgb */ color: rgb(219, 81, 230);
/* oklch */ color: oklch(67.5% 0.240 324.7);
Tailwind
colors: {
  custom: {
    50: '#ea8cee',
    500: '#db51e6',
    950: '#000000',
  },
}
SCSS
$custom: #db51e6;
$custom-light: #ea8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#db51e6",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 295.57,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67458,
    "c": 0.23992,
    "h": 324.7
  },
  "luminance": 0.26658
}

Semantic roles & 50–950 ramp

primary
#DB51E6
secondary
#B1E5AD
accent
#D70E1D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB51E6

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

Preview Lab → · Contrast checker → · Palette generator →

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