#DB8ECF#DB8ECF

#DB8ECF is a light, vivid purple. Relative luminance 0.389; OKLCH L 74.6% C 0.125 H 332.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#DB8ECF
RGBrgb(219, 142, 207)
HSLhsl(309, 52%, 71%)
HSVhsv(309, 35%, 86%)
CMYKcmyk(0%, 35.2%, 5.5%, 14.1%)
CIE-LABlab(68.69, 38.99, -21.42)
CIE-LCHlch(68.69, 44.49, 331.21°)
OKLaboklab(74.56% 0.1108 -0.0577)
OKLCHoklch(74.56% 0.125 332.5)
XYZxyz(50.1484, 38.9134, 63.8889)
Luminance0.3891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8ECF #8EDB9A
analogous
#C08EDB #DB8ECF #DB8EA8
triadic
#DB8ECF #CFDB8E #8ECFDB
tetradic
#DB8ECF #DBC08E #8EDB9A #8EA8DB
square
#DB8ECF #DBC08E #8EDB9A #8EA8DB
split-complementary
#DB8ECF #A8DB8E #8EDBC0
monochromatic
#B53AA2 #CC60BB #DB8ECF #EABCE3 #F8E8F5

Accessibility & contrast

On white

2.39
#DB8ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#DB8ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8ECF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8ECF#FFFFFF#000000##000000
##DB8ECF1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA1D1
Deuteranopia (green-blind)
#A0ACCD
Tritanopia (blue-blind)
#E292A6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #db8ecf;
/* rgb */ color: rgb(219, 142, 207);
/* oklch */ color: oklch(74.6% 0.125 332.5);
Tailwind
colors: {
  custom: {
    50: '#e7b0dd',
    500: '#db8ecf',
    950: '#000000',
  },
}
SCSS
$custom: #db8ecf;
$custom-light: #e7b0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#db8ecf",
  "rgb": {
    "r": 219,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 309.351,
    "s": 51.678,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74558,
    "c": 0.12494,
    "h": 332.5
  },
  "luminance": 0.38911
}

Semantic roles & 50–950 ramp

primary
#DB8ECF
secondary
#D8EDDB
accent
#BF3E26
background
#FEFAFD
surface
#FDF5FB
border
#D5CFD4
text
#161115
muted
#848083

Preview Lab

Preview with #DB8ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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