#DB7EDD#DB7EDD

#DB7EDD is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.6% C 0.165 H 326.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#DB7EDD
RGBrgb(219, 126, 221)
HSLhsl(299, 58%, 68%)
HSVhsv(299, 43%, 87%)
CMYKcmyk(0.9%, 43%, 0%, 13.3%)
CIE-LABlab(65.91, 49.83, -33.48)
CIE-LCHlch(65.91, 60.04, 326.11°)
OKLaboklab(72.64% 0.1376 -0.0916)
OKLCHoklch(72.64% 0.165 326.4)
XYZxyz(49.7244, 35.2046, 72.5686)
Luminance0.3520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EDD #80DD7E
analogous
#AB7EDD #DB7EDD #DD7EAF
triadic
#DB7EDD #DDDB7E #7EDDDB
tetradic
#DB7EDD #DDAB7E #80DD7E #7EAFDD
square
#DB7EDD #DDAB7E #80DD7E #7EAFDD
split-complementary
#DB7EDD #AFDD7E #7EDDAB
monochromatic
#AF2FB2 #CD4ED0 #DB7EDD #E9AEEA #F6DFF7

Accessibility & contrast

On white

2.61
#DB7EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#DB7EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EDD
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EDD#FFFFFF#000000##000000
##DB7EDD1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E0
Deuteranopia (green-blind)
#8FA4DA
Tritanopia (blue-blind)
#E088A3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7edd;
/* rgb */ color: rgb(219, 126, 221);
/* oklch */ color: oklch(72.6% 0.165 326.4);
Tailwind
colors: {
  custom: {
    50: '#e8a6e8',
    500: '#db7edd',
    950: '#000000',
  },
}
SCSS
$custom: #db7edd;
$custom-light: #e8a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#db7edd",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 298.737,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72644,
    "c": 0.16534,
    "h": 326.4
  },
  "luminance": 0.35202
}

Semantic roles & 50–950 ramp

primary
#DB7EDD
secondary
#CDEACD
accent
#C62023
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB7EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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