#DB7ECD#DB7ECD

#DB7ECD is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.0% C 0.151 H 332.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#DB7ECD
RGBrgb(219, 126, 205)
HSLhsl(309, 56%, 68%)
HSVhsv(309, 42%, 86%)
CMYKcmyk(0%, 42.5%, 6.4%, 14.1%)
CIE-LABlab(65.27, 47.01, -25.53)
CIE-LCHlch(65.27, 53.49, 331.49°)
OKLaboklab(71.96% 0.1342 -0.0691)
OKLCHoklch(71.96% 0.151 332.8)
XYZxyz(47.6934, 34.3922, 61.8720)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7ECD #7EDB8C
analogous
#BA7EDB #DB7ECD #DB7E9F
triadic
#DB7ECD #CDDB7E #7ECDDB
tetradic
#DB7ECD #DBBA7E #7EDB8C #7E9FDB
square
#DB7ECD #DBBA7E #7EDB8C #7E9FDB
split-complementary
#DB7ECD #9FDB7E #7EDBBA
monochromatic
#AE319B #CE4EBA #DB7ECD #E8AEE0 #F6DEF2

Accessibility & contrast

On white

2.67
#DB7ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#DB7ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7ECD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7ECD#FFFFFF#000000##000000
##DB7ECD1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96D0
Deuteranopia (green-blind)
#95A3CA
Tritanopia (blue-blind)
#E2839C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db7ecd;
/* rgb */ color: rgb(219, 126, 205);
/* oklch */ color: oklch(72.0% 0.151 332.8);
Tailwind
colors: {
  custom: {
    50: '#e8a6dc',
    500: '#db7ecd',
    950: '#000000',
  },
}
SCSS
$custom: #db7ecd;
$custom-light: #e8a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ecd",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 309.032,
    "s": 56.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71961,
    "c": 0.15092,
    "h": 332.8
  },
  "luminance": 0.3439
}

Semantic roles & 50–950 ramp

primary
#DB7ECD
secondary
#CCE9D0
accent
#C43A22
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DB7ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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