#DB7CD1#DB7CD1

#DB7CD1 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.8% C 0.158 H 331.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#DB7CD1
RGBrgb(219, 124, 209)
HSLhsl(306, 57%, 67%)
HSVhsv(306, 43%, 86%)
CMYKcmyk(0%, 43.4%, 4.6%, 14.1%)
CIE-LABlab(65.03, 48.72, -28.15)
CIE-LCHlch(65.03, 56.27, 329.98°)
OKLaboklab(71.83% 0.138 -0.0764)
OKLCHoklch(71.83% 0.158 331)
XYZxyz(47.9292, 34.0814, 64.3630)
Luminance0.3408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CD1 #7CDB86
analogous
#B67CDB #DB7CD1 #DB7CA1
triadic
#DB7CD1 #D1DB7C #7CD1DB
tetradic
#DB7CD1 #DBB67C #7CDB86 #7CA1DB
square
#DB7CD1 #DBB67C #7CDB86 #7CA1DB
split-complementary
#DB7CD1 #A1DB7C #7CDBB6
monochromatic
#AD30A0 #CE4CC0 #DB7CD1 #E8ACE2 #F5DCF3

Accessibility & contrast

On white

2.69
#DB7CD1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#DB7CD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CD1
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CD1#FFFFFF#000000##000000
##DB7CD11.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7896D4
Deuteranopia (green-blind)
#92A3CE
Tritanopia (blue-blind)
#E2839D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db7cd1;
/* rgb */ color: rgb(219, 124, 209);
/* oklch */ color: oklch(71.8% 0.158 331.0);
Tailwind
colors: {
  custom: {
    50: '#e8a4df',
    500: '#db7cd1',
    950: '#000000',
  },
}
SCSS
$custom: #db7cd1;
$custom-light: #e8a4df;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cd1",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 306.316,
    "s": 56.886,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71828,
    "c": 0.15778,
    "h": 331
  },
  "luminance": 0.34079
}

Semantic roles & 50–950 ramp

primary
#DB7CD1
secondary
#CAE8CE
accent
#C43221
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DB7CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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