#DB7EF7#DB7EF7

#DB7EF7 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.9% C 0.191 H 318.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DB7EF7
RGBrgb(219, 126, 247)
HSLhsl(286, 88%, 73%)
HSVhsv(286, 49%, 97%)
CMYKcmyk(11.3%, 49%, 0%, 3.1%)
CIE-LABlab(67.05, 54.76, -46.05)
CIE-LCHlch(67.05, 71.55, 319.93°)
OKLaboklab(73.87% 0.1418 -0.1277)
OKLCHoklch(73.87% 0.191 318)
XYZxyz(53.4605, 36.6990, 92.2452)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EF7 #9AF77E
analogous
#9E7EF7 #DB7EF7 #F77ED6
triadic
#DB7EF7 #F7DB7E #7EF7DB
tetradic
#DB7EF7 #F79E7E #9AF77E #7ED6F7
square
#DB7EF7 #F79E7E #9AF77E #7ED6F7
split-complementary
#DB7EF7 #D6F77E #7EF79E
monochromatic
#B90FEC #CB44F3 #DB7EF7 #EBB8FB #F7E2FD

Accessibility & contrast

On white

2.52
#DB7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#DB7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EF7
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EF7#FFFFFF#000000##000000
##DB7EF71.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#83A6F4
Tritanopia (blue-blind)
#DB8FAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7ef7;
/* rgb */ color: rgb(219, 126, 247);
/* oklch */ color: oklch(73.9% 0.191 318.0);
Tailwind
colors: {
  custom: {
    50: '#e8a6fa',
    500: '#db7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #db7ef7;
$custom-light: #e8a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ef7",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 286.116,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73868,
    "c": 0.19084,
    "h": 318
  },
  "luminance": 0.36697
}

Semantic roles & 50–950 ramp

primary
#DB7EF7
secondary
#DDF5D6
accent
#E50135
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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