#DB7DDF#DB7DDF

#DB7DDF is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.6% C 0.169 H 325.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#DB7DDF
RGBrgb(219, 125, 223)
HSLhsl(298, 60%, 68%)
HSVhsv(298, 44%, 87%)
CMYKcmyk(1.8%, 43.9%, 0%, 12.5%)
CIE-LABlab(65.79, 50.71, -34.77)
CIE-LCHlch(65.79, 61.48, 325.56°)
OKLaboklab(72.59% 0.1394 -0.0953)
OKLCHoklch(72.59% 0.169 325.7)
XYZxyz(49.8652, 35.0574, 73.9379)
Luminance0.3505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7DDF #81DF7D
analogous
#AA7DDF #DB7DDF #DF7DB2
triadic
#DB7DDF #DFDB7D #7DDFDB
tetradic
#DB7DDF #DFAA7D #81DF7D #7DB2DF
square
#DB7DDF #DFAA7D #81DF7D #7DB2DF
split-complementary
#DB7DDF #B2DF7D #7DDFAA
monochromatic
#AF2DB5 #CD4CD3 #DB7DDF #E9AEEB #F6DFF7

Accessibility & contrast

On white

2.62
#DB7DDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#DB7DDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7DDF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7DDF#FFFFFF#000000##000000
##DB7DDF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#8EA4DC
Tritanopia (blue-blind)
#E088A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7ddf;
/* rgb */ color: rgb(219, 125, 223);
/* oklch */ color: oklch(72.6% 0.169 325.7);
Tailwind
colors: {
  custom: {
    50: '#e8a5e9',
    500: '#db7ddf',
    950: '#000000',
  },
}
SCSS
$custom: #db7ddf;
$custom-light: #e8a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ddf",
  "rgb": {
    "r": 219,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 297.551,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72586,
    "c": 0.16888,
    "h": 325.7
  },
  "luminance": 0.35055
}

Semantic roles & 50–950 ramp

primary
#DB7DDF
secondary
#CEEBCD
accent
#C81D24
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB7DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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