#DB51C8#DB51C8

#DB51C8 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.9% C 0.216 H 333.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#DB51C8
RGBrgb(219, 81, 200)
HSLhsl(308, 66%, 59%)
HSVhsv(308, 63%, 86%)
CMYKcmyk(0%, 63%, 8.7%, 14.1%)
CIE-LABlab(57.19, 67.11, -35.22)
CIE-LCHlch(57.19, 75.79, 332.31°)
OKLaboklab(65.92% 0.1938 -0.0962)
OKLCHoklch(65.92% 0.216 333.6)
XYZxyz(42.5814, 25.1184, 57.2380)
Luminance0.2511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51C8 #51DB64
analogous
#A951DB #DB51C8 #DB5183
triadic
#DB51C8 #C8DB51 #51C8DB
tetradic
#DB51C8 #DBA951 #51DB64 #5183DB
square
#DB51C8 #DBA951 #51DB64 #5183DB
split-complementary
#DB51C8 #83DB51 #51DBA9
monochromatic
#931E83 #C629B0 #DB51C8 #E584D8 #F0B6E8

Accessibility & contrast

On white

3.49
#DB51C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#DB51C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51C8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51C8#FFFFFF#000000##000000
##DB51C81.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCC
Deuteranopia (green-blind)
#7B91C4
Tritanopia (blue-blind)
#E55C85
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #db51c8;
/* rgb */ color: rgb(219, 81, 200);
/* oklch */ color: oklch(65.9% 0.216 333.6);
Tailwind
colors: {
  custom: {
    50: '#e98bd9',
    500: '#db51c8',
    950: '#000000',
  },
}
SCSS
$custom: #db51c8;
$custom-light: #e98bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#db51c8",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 308.261,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65916,
    "c": 0.21638,
    "h": 333.6
  },
  "luminance": 0.25115
}

Semantic roles & 50–950 ramp

primary
#DB51C8
secondary
#A9DFB0
accent
#E9563F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DB51C8

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

Preview Lab → · Contrast checker → · Palette generator →

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