#DB7EE7#DB7EE7

#DB7EE7 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.1% C 0.175 H 322.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#DB7EE7
RGBrgb(219, 126, 231)
HSLhsl(293, 69%, 70%)
HSVhsv(293, 45%, 91%)
CMYKcmyk(5.2%, 45.5%, 0%, 9.4%)
CIE-LABlab(66.33, 51.68, -38.37)
CIE-LCHlch(66.33, 64.37, 323.41°)
OKLaboklab(73.1% 0.1395 -0.1056)
OKLCHoklch(73.1% 0.175 322.9)
XYZxyz(51.0966, 35.7535, 79.7954)
Luminance0.3575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EE7 #8AE77E
analogous
#A77EE7 #DB7EE7 #E77EBE
triadic
#DB7EE7 #E7DB7E #7EE7DB
tetradic
#DB7EE7 #E7A77E #8AE77E #7EBEE7
square
#DB7EE7 #E7A77E #8AE77E #7EBEE7
split-complementary
#DB7EE7 #BEE77E #7EE7A7
monochromatic
#B325C6 #CD4ADD #DB7EE7 #E9B2F1 #F8E5FA

Accessibility & contrast

On white

2.58
#DB7EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#DB7EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EE7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EE7#FFFFFF#000000##000000
##DB7EE71.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719AEB
Deuteranopia (green-blind)
#8BA5E4
Tritanopia (blue-blind)
#DE8BA8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7ee7;
/* rgb */ color: rgb(219, 126, 231);
/* oklch */ color: oklch(73.1% 0.175 322.9);
Tailwind
colors: {
  custom: {
    50: '#e8a6ef',
    500: '#db7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #db7ee7;
$custom-light: #e8a6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ee7",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 293.143,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.73099,
    "c": 0.17492,
    "h": 322.9
  },
  "luminance": 0.35751
}

Semantic roles & 50–950 ramp

primary
#DB7EE7
secondary
#D5EFD2
accent
#D1152A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DB7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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