#DB7FDC#DB7FDC

#DB7FDC is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.7% C 0.163 H 326.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#DB7FDC
RGBrgb(219, 127, 220)
HSLhsl(299, 57%, 68%)
HSVhsv(299, 42%, 86%)
CMYKcmyk(0.5%, 42.3%, 0%, 13.7%)
CIE-LABlab(66.07, 49.14, -32.68)
CIE-LCHlch(66.07, 59.02, 326.38°)
OKLaboklab(72.75% 0.136 -0.0893)
OKLCHoklch(72.75% 0.163 326.7)
XYZxyz(49.7201, 35.4085, 71.9118)
Luminance0.3541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FDC #80DC7F
analogous
#AC7FDC #DB7FDC #DC7FAE
triadic
#DB7FDC #DCDB7F #7FDCDB
tetradic
#DB7FDC #DCAC7F #80DC7F #7FAEDC
square
#DB7FDC #DCAC7F #80DC7F #7FAEDC
split-complementary
#DB7FDC #AEDC7F #7FDCAC
monochromatic
#AF30B0 #CD4FCF #DB7FDC #E9AFE9 #F6DFF6

Accessibility & contrast

On white

2.60
#DB7FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#DB7FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FDC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FDC#FFFFFF#000000##000000
##DB7FDC1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#90A5D9
Tritanopia (blue-blind)
#E088A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7fdc;
/* rgb */ color: rgb(219, 127, 220);
/* oklch */ color: oklch(72.7% 0.163 326.7);
Tailwind
colors: {
  custom: {
    50: '#e8a6e7',
    500: '#db7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #db7fdc;
$custom-light: #e8a6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fdc",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 299.355,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72749,
    "c": 0.16273,
    "h": 326.7
  },
  "luminance": 0.35406
}

Semantic roles & 50–950 ramp

primary
#DB7FDC
secondary
#CDEACD
accent
#C52123
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DB7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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