#DB51CF#DB51CF

#DB51CF is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.3% C 0.222 H 331.4°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#DB51CF
RGBrgb(219, 81, 207)
HSLhsl(305, 66%, 59%)
HSVhsv(305, 63%, 86%)
CMYKcmyk(0%, 63%, 5.5%, 14.1%)
CIE-LABlab(57.51, 68.21, -38.71)
CIE-LCHlch(57.51, 78.42, 330.43°)
OKLaboklab(66.26% 0.1946 -0.1062)
OKLCHoklch(66.26% 0.222 331.4)
XYZxyz(43.4182, 25.4531, 61.6455)
Luminance0.2545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51CF #51DB5D
analogous
#A251DB #DB51CF #DB518A
triadic
#DB51CF #CFDB51 #51CFDB
tetradic
#DB51CF #DBA251 #51DB5D #518ADB
square
#DB51CF #DBA251 #51DB5D #518ADB
split-complementary
#DB51CF #8ADB51 #51DBA2
monochromatic
#931E89 #C629B8 #DB51CF #E584DD #F0B6EB

Accessibility & contrast

On white

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

On black

6.09
#DB51CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51CF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51CF#FFFFFF#000000##000000
##DB51CF1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED3
Deuteranopia (green-blind)
#7891CB
Tritanopia (blue-blind)
#E35E89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #db51cf;
/* rgb */ color: rgb(219, 81, 207);
/* oklch */ color: oklch(66.3% 0.222 331.4);
Tailwind
colors: {
  custom: {
    50: '#ea8bde',
    500: '#db51cf',
    950: '#000000',
  },
}
SCSS
$custom: #db51cf;
$custom-light: #ea8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#db51cf",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 305.217,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66257,
    "c": 0.22166,
    "h": 331.4
  },
  "luminance": 0.2545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB51CF

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

Preview Lab → · Contrast checker → · Palette generator →

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