#DB7FED#DB7FED

#DB7FED is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.5% C 0.179 H 320.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#DB7FED
RGBrgb(219, 127, 237)
HSLhsl(290, 75%, 71%)
HSVhsv(290, 46%, 93%)
CMYKcmyk(7.6%, 46.4%, 0%, 7.1%)
CIE-LABlab(66.79, 52.31, -40.96)
CIE-LCHlch(66.79, 66.44, 321.94°)
OKLaboklab(73.53% 0.139 -0.113)
OKLCHoklch(73.53% 0.179 320.9)
XYZxyz(52.0870, 36.3553, 84.3779)
Luminance0.3635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FED #91ED7F
analogous
#A47FED #DB7FED #ED7FC8
triadic
#DB7FED #EDDB7F #7FEDDB
tetradic
#DB7FED #EDA47F #91ED7F #7FC8ED
square
#DB7FED #EDA47F #91ED7F #7FC8ED
split-complementary
#DB7FED #C8ED7F #7FEDA4
monochromatic
#B61ED4 #CC49E5 #DB7FED #EAB5F5 #F7E4FB

Accessibility & contrast

On white

2.54
#DB7FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#DB7FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FED
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FED#FFFFFF#000000##000000
##DB7FED1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#89A6EA
Tritanopia (blue-blind)
#DD8DAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7fed;
/* rgb */ color: rgb(219, 127, 237);
/* oklch */ color: oklch(73.5% 0.179 320.9);
Tailwind
colors: {
  custom: {
    50: '#e8a7f3',
    500: '#db7fed',
    950: '#000000',
  },
}
SCSS
$custom: #db7fed;
$custom-light: #e8a7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fed",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 290.182,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73527,
    "c": 0.17919,
    "h": 320.9
  },
  "luminance": 0.36353
}

Semantic roles & 50–950 ramp

primary
#DB7FED
secondary
#DAF2D6
accent
#D80E2F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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