#DB7DD4#DB7DD4

#DB7DD4 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.1% C 0.159 H 329.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#DB7DD4
RGBrgb(219, 125, 212)
HSLhsl(304, 57%, 67%)
HSVhsv(304, 43%, 86%)
CMYKcmyk(0%, 42.9%, 3.2%, 14.1%)
CIE-LABlab(65.34, 48.74, -29.34)
CIE-LCHlch(65.34, 56.88, 328.95°)
OKLaboklab(72.1% 0.1372 -0.0798)
OKLCHoklch(72.1% 0.159 329.8)
XYZxyz(48.4301, 34.4833, 66.3796)
Luminance0.3448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7DD4 #7DDB84
analogous
#B37DDB #DB7DD4 #DB7DA5
triadic
#DB7DD4 #D4DB7D #7DD4DB
tetradic
#DB7DD4 #DBB37D #7DDB84 #7DA5DB
square
#DB7DD4 #DBB37D #7DDB84 #7DA5DB
split-complementary
#DB7DD4 #A5DB7D #7DDBB3
monochromatic
#AE30A4 #CE4DC4 #DB7DD4 #E8ADE4 #F6DDF4

Accessibility & contrast

On white

2.66
#DB7DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#DB7DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7DD4
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7DD4#FFFFFF#000000##000000
##DB7DD41.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7897D7
Deuteranopia (green-blind)
#92A3D1
Tritanopia (blue-blind)
#E1849F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db7dd4;
/* rgb */ color: rgb(219, 125, 212);
/* oklch */ color: oklch(72.1% 0.159 329.8);
Tailwind
colors: {
  custom: {
    50: '#e8a5e1',
    500: '#db7dd4',
    950: '#000000',
  },
}
SCSS
$custom: #db7dd4;
$custom-light: #e8a5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#db7dd4",
  "rgb": {
    "r": 219,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 304.468,
    "s": 56.627,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72104,
    "c": 0.15876,
    "h": 329.8
  },
  "luminance": 0.34481
}

Semantic roles & 50–950 ramp

primary
#DB7DD4
secondary
#CBE9CD
accent
#C42D21
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DB7DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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