#DB7EE3#DB7EE3

#DB7EE3 is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.9% C 0.171 H 324.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#DB7EE3
RGBrgb(219, 126, 227)
HSLhsl(295, 64%, 69%)
HSVhsv(295, 44%, 89%)
CMYKcmyk(3.5%, 44.5%, 0%, 11%)
CIE-LABlab(66.16, 50.94, -36.42)
CIE-LCHlch(66.16, 62.62, 324.43°)
OKLaboklab(72.91% 0.1388 -0.1)
OKLCHoklch(72.91% 0.171 324.2)
XYZxyz(50.5381, 35.5301, 76.8541)
Luminance0.3553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EE3 #86E37E
analogous
#A97EE3 #DB7EE3 #E37EB8
triadic
#DB7EE3 #E3DB7E #7EE3DB
tetradic
#DB7EE3 #E3A97E #86E37E #7EB8E3
square
#DB7EE3 #E3A97E #86E37E #7EB8E3
split-complementary
#DB7EE3 #B8E37E #7EE3A9
monochromatic
#B229BD #CD4CD8 #DB7EE3 #E9B0EE #F7E3F9

Accessibility & contrast

On white

2.59
#DB7EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#DB7EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EE3
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EE3#FFFFFF#000000##000000
##DB7EE31.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE7
Deuteranopia (green-blind)
#8DA5E0
Tritanopia (blue-blind)
#DF89A6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7ee3;
/* rgb */ color: rgb(219, 126, 227);
/* oklch */ color: oklch(72.9% 0.171 324.2);
Tailwind
colors: {
  custom: {
    50: '#e8a6ec',
    500: '#db7ee3',
    950: '#000000',
  },
}
SCSS
$custom: #db7ee3;
$custom-light: #e8a6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ee3",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 295.248,
    "s": 64.331,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72915,
    "c": 0.17104,
    "h": 324.2
  },
  "luminance": 0.35528
}

Semantic roles & 50–950 ramp

primary
#DB7EE3
secondary
#D2EDD0
accent
#CC1928
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DB7EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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