#DB4CD2#DB4CD2

#DB4CD2 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.9% C 0.230 H 330.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#DB4CD2
RGBrgb(219, 76, 210)
HSLhsl(304, 67%, 58%)
HSVhsv(304, 65%, 86%)
CMYKcmyk(0%, 65.3%, 4.1%, 14.1%)
CIE-LABlab(56.96, 70.62, -41.28)
CIE-LCHlch(56.96, 81.79, 329.69°)
OKLaboklab(65.91% 0.2004 -0.1136)
OKLCHoklch(65.91% 0.23 330.5)
XYZxyz(43.4305, 24.8853, 63.4762)
Luminance0.2488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4CD2 #4CDB55
analogous
#9C4CDB #DB4CD2 #DB4C8B
triadic
#DB4CD2 #D2DB4C #4CD2DB
tetradic
#DB4CD2 #DB9C4C #4CDB55 #4C8BDB
square
#DB4CD2 #DB9C4C #4CDB55 #4C8BDB
split-complementary
#DB4CD2 #8BDB4C #4CDB9C
monochromatic
#901D88 #C327B9 #DB4CD2 #E57FDF #EFB2EC

Accessibility & contrast

On white

3.51
#DB4CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#DB4CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4CD2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4CD2#FFFFFF#000000##000000
##DB4CD21.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD6
Deuteranopia (green-blind)
#7490CE
Tritanopia (blue-blind)
#E35C89
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #db4cd2;
/* rgb */ color: rgb(219, 76, 210);
/* oklch */ color: oklch(65.9% 0.230 330.5);
Tailwind
colors: {
  custom: {
    50: '#ea88e0',
    500: '#db4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #db4cd2;
$custom-light: #ea88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#db4cd2",
  "rgb": {
    "r": 219,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 303.776,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65905,
    "c": 0.23033,
    "h": 330.5
  },
  "luminance": 0.24882
}

Semantic roles & 50–950 ramp

primary
#DB4CD2
secondary
#A5DEA8
accent
#E9493E
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DB4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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