#DB7EDC#DB7EDC

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

Color values

HEX#DB7EDC
RGBrgb(219, 126, 220)
HSLhsl(299, 57%, 68%)
HSVhsv(299, 43%, 86%)
CMYKcmyk(0.5%, 42.7%, 0%, 13.7%)
CIE-LABlab(65.87, 49.65, -32.99)
CIE-LCHlch(65.87, 59.61, 326.40°)
OKLaboklab(72.6% 0.1375 -0.0902)
OKLCHoklch(72.6% 0.164 326.7)
XYZxyz(49.5916, 35.1515, 71.8690)
Luminance0.3515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EDC #7FDC7E
analogous
#AC7EDC #DB7EDC #DC7EAE
triadic
#DB7EDC #DCDB7E #7EDCDB
tetradic
#DB7EDC #DCAC7E #7FDC7E #7EAEDC
square
#DB7EDC #DCAC7E #7FDC7E #7EAEDC
split-complementary
#DB7EDC #AEDC7E #7EDCAC
monochromatic
#AF30B0 #CE4ECF #DB7EDC #E8AEE9 #F6DEF6

Accessibility & contrast

On white

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

On black

8.03
#DB7EDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EDC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EDC#FFFFFF#000000##000000
##DB7EDC1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DF
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#E088A3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7edc;
/* rgb */ color: rgb(219, 126, 220);
/* oklch */ color: oklch(72.6% 0.164 326.7);
Tailwind
colors: {
  custom: {
    50: '#e8a6e7',
    500: '#db7edc',
    950: '#000000',
  },
}
SCSS
$custom: #db7edc;
$custom-light: #e8a6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#db7edc",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 220
  },
  "hsl": {
    "h": 299.362,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.726,
    "c": 0.16441,
    "h": 326.7
  },
  "luminance": 0.35149
}

Semantic roles & 50–950 ramp

primary
#DB7EDC
secondary
#CDE9CC
accent
#C52122
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB7EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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