#DB51CE#DB51CE

#DB51CE is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.221 H 331.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#DB51CE
RGBrgb(219, 81, 206)
HSLhsl(306, 66%, 59%)
HSVhsv(306, 63%, 86%)
CMYKcmyk(0%, 63%, 5.9%, 14.1%)
CIE-LABlab(57.47, 68.05, -38.21)
CIE-LCHlch(57.47, 78.04, 330.68°)
OKLaboklab(66.21% 0.1945 -0.1048)
OKLCHoklch(66.21% 0.221 331.7)
XYZxyz(43.2964, 25.4044, 61.0037)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51CE #51DB5E
analogous
#A351DB #DB51CE #DB5189
triadic
#DB51CE #CEDB51 #51CEDB
tetradic
#DB51CE #DBA351 #51DB5E #5189DB
square
#DB51CE #DBA351 #51DB5E #5189DB
split-complementary
#DB51CE #89DB51 #51DBA3
monochromatic
#931E88 #C629B7 #DB51CE #E584DC #F0B6EB

Accessibility & contrast

On white

3.45
#DB51CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#DB51CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51CE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51CE#FFFFFF#000000##000000
##DB51CE1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED2
Deuteranopia (green-blind)
#7991CA
Tritanopia (blue-blind)
#E45E88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #db51ce;
/* rgb */ color: rgb(219, 81, 206);
/* oklch */ color: oklch(66.2% 0.221 331.7);
Tailwind
colors: {
  custom: {
    50: '#ea8bdd',
    500: '#db51ce',
    950: '#000000',
  },
}
SCSS
$custom: #db51ce;
$custom-light: #ea8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#db51ce",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 305.652,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66208,
    "c": 0.22089,
    "h": 331.7
  },
  "luminance": 0.25401
}

Semantic roles & 50–950 ramp

primary
#DB51CE
secondary
#A9DFAE
accent
#E94F3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170D15
muted
#857D83

Preview Lab

Preview with #DB51CE

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

Preview Lab → · Contrast checker → · Palette generator →

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