#DB4DD7#DB4DD7

#DB4DD7 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.3% C 0.233 H 329.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#DB4DD7
RGBrgb(219, 77, 215)
HSLhsl(302, 66%, 58%)
HSVhsv(302, 65%, 86%)
CMYKcmyk(0%, 64.8%, 1.8%, 14.1%)
CIE-LABlab(57.34, 71.04, -43.51)
CIE-LCHlch(57.34, 83.31, 328.51°)
OKLaboklab(66.26% 0.1996 -0.12)
OKLCHoklch(66.26% 0.233 329)
XYZxyz(44.1326, 25.2772, 66.8313)
Luminance0.2527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4DD7 #4DDB51
analogous
#984DDB #DB4DD7 #DB4D90
triadic
#DB4DD7 #D7DB4D #4DD7DB
tetradic
#DB4DD7 #DB984D #4DDB51 #4D90DB
square
#DB4DD7 #DB984D #4DDB51 #4D90DB
split-complementary
#DB4DD7 #90DB4D #4DDB98
monochromatic
#901D8D #C327BF #DB4DD7 #E580E2 #F0B3EE

Accessibility & contrast

On white

3.47
#DB4DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#DB4DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4DD7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4DD7#FFFFFF#000000##000000
##DB4DD71.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7EDB
Deuteranopia (green-blind)
#7290D3
Tritanopia (blue-blind)
#E25F8C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #db4dd7;
/* rgb */ color: rgb(219, 77, 215);
/* oklch */ color: oklch(66.3% 0.233 329.0);
Tailwind
colors: {
  custom: {
    50: '#ea89e4',
    500: '#db4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #db4dd7;
$custom-light: #ea89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#db4dd7",
  "rgb": {
    "r": 219,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 301.69,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6626,
    "c": 0.23292,
    "h": 329
  },
  "luminance": 0.25274
}

Semantic roles & 50–950 ramp

primary
#DB4DD7
secondary
#A6DEA7
accent
#E9433F
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C15
muted
#857D84

Preview Lab

Preview with #DB4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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