#DB7CFD#DB7CFD

#DB7CFD is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 73.9% C 0.200 H 316.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#DB7CFD
RGBrgb(219, 124, 253)
HSLhsl(284, 97%, 74%)
HSVhsv(284, 51%, 99%)
CMYKcmyk(13.4%, 51%, 0%, 0.8%)
CIE-LABlab(66.95, 56.94, -49.50)
CIE-LCHlch(66.95, 75.45, 319.00°)
OKLaboklab(73.89% 0.1451 -0.1377)
OKLCHoklch(73.89% 0.2 316.5)
XYZxyz(54.1481, 36.5690, 97.1156)
Luminance0.3657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CFD #9EFD7C
analogous
#9B7CFD #DB7CFD #FD7CDF
triadic
#DB7CFD #FDDB7C #7CFDDB
tetradic
#DB7CFD #FD9B7C #9EFD7C #7CDFFD
square
#DB7CFD #FD9B7C #9EFD7C #7CDFFD
split-complementary
#DB7CFD #DFFD7C #7CFD9B
monochromatic
#BA04FB #CA40FC #DB7CFD #ECB8FE #F7E1FF

Accessibility & contrast

On white

2.53
#DB7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#DB7CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CFD
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CFD#FFFFFF#000000##000000
##DB7CFD1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#7EA6FA
Tritanopia (blue-blind)
#DA90B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7cfd;
/* rgb */ color: rgb(219, 124, 253);
/* oklch */ color: oklch(73.9% 0.200 316.5);
Tailwind
colors: {
  custom: {
    50: '#e9a5fe',
    500: '#db7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #db7cfd;
$custom-light: #e9a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cfd",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 284.186,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73888,
    "c": 0.20005,
    "h": 316.5
  },
  "luminance": 0.36567
}

Semantic roles & 50–950 ramp

primary
#DB7CFD
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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