#DB4CD7#DB4CD7

#DB4CD7 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.2% C 0.234 H 329.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#DB4CD7
RGBrgb(219, 76, 215)
HSLhsl(302, 67%, 58%)
HSVhsv(302, 65%, 86%)
CMYKcmyk(0%, 65.3%, 1.8%, 14.1%)
CIE-LABlab(57.21, 71.41, -43.73)
CIE-LCHlch(57.21, 83.74, 328.52°)
OKLaboklab(66.16% 0.2007 -0.1206)
OKLCHoklch(66.16% 0.234 329)
XYZxyz(44.0632, 25.1384, 66.8082)
Luminance0.2514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4CD7 #4CDB50
analogous
#974CDB #DB4CD7 #DB4C90
triadic
#DB4CD7 #D7DB4C #4CD7DB
tetradic
#DB4CD7 #DB974C #4CDB50 #4C90DB
square
#DB4CD7 #DB974C #4CDB50 #4C90DB
split-complementary
#DB4CD7 #90DB4C #4CDB97
monochromatic
#901D8C #C327BE #DB4CD7 #E57FE2 #EFB2EE

Accessibility & contrast

On white

3.48
#DB4CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#DB4CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4CD7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4CD7#FFFFFF#000000##000000
##DB4CD71.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDB
Deuteranopia (green-blind)
#7290D3
Tritanopia (blue-blind)
#E25E8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #db4cd7;
/* rgb */ color: rgb(219, 76, 215);
/* oklch */ color: oklch(66.2% 0.234 329.0);
Tailwind
colors: {
  custom: {
    50: '#ea89e4',
    500: '#db4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #db4cd7;
$custom-light: #ea89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#db4cd7",
  "rgb": {
    "r": 219,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 301.678,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.66163,
    "c": 0.23416,
    "h": 329
  },
  "luminance": 0.25135
}

Semantic roles & 50–950 ramp

primary
#DB4CD7
secondary
#A5DEA6
accent
#E9433E
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C15
muted
#857D84

Preview Lab

Preview with #DB4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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