#DB7FDF#DB7FDF

#DB7FDF is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.9% C 0.166 H 325.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#DB7FDF
RGBrgb(219, 127, 223)
HSLhsl(298, 60%, 69%)
HSVhsv(298, 43%, 87%)
CMYKcmyk(1.8%, 43%, 0%, 12.5%)
CIE-LABlab(66.19, 49.69, -34.15)
CIE-LCHlch(66.19, 60.30, 325.50°)
OKLaboklab(72.88% 0.1366 -0.0935)
OKLCHoklch(72.88% 0.166 325.6)
XYZxyz(50.1209, 35.5688, 74.0231)
Luminance0.3557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FDF #83DF7F
analogous
#AB7FDF #DB7FDF #DF7FB3
triadic
#DB7FDF #DFDB7F #7FDFDB
tetradic
#DB7FDF #DFAB7F #83DF7F #7FB3DF
square
#DB7FDF #DFAB7F #83DF7F #7FB3DF
split-complementary
#DB7FDF #B3DF7F #7FDFAB
monochromatic
#B02EB6 #CD4ED3 #DB7FDF #E9B0EB #F7E1F7

Accessibility & contrast

On white

2.59
#DB7FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#DB7FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FDF
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FDF#FFFFFF#000000##000000
##DB7FDF1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#769AE2
Deuteranopia (green-blind)
#8FA5DC
Tritanopia (blue-blind)
#DF89A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7fdf;
/* rgb */ color: rgb(219, 127, 223);
/* oklch */ color: oklch(72.9% 0.166 325.6);
Tailwind
colors: {
  custom: {
    50: '#e8a6e9',
    500: '#db7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #db7fdf;
$custom-light: #e8a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fdf",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 297.5,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72882,
    "c": 0.16556,
    "h": 325.6
  },
  "luminance": 0.35567
}

Semantic roles & 50–950 ramp

primary
#DB7FDF
secondary
#D0EBCF
accent
#C81E25
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DB7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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