#DB7EF6#DB7EF6

#DB7EF6 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.8% C 0.190 H 318.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#DB7EF6
RGBrgb(219, 126, 246)
HSLhsl(287, 87%, 73%)
HSVhsv(287, 49%, 96%)
CMYKcmyk(11%, 48.8%, 0%, 3.5%)
CIE-LABlab(67.00, 54.56, -45.58)
CIE-LCHlch(67.00, 71.09, 320.12°)
OKLaboklab(73.82% 0.1417 -0.1264)
OKLCHoklch(73.82% 0.19 318.3)
XYZxyz(53.3066, 36.6375, 91.4347)
Luminance0.3664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EF6 #99F67E
analogous
#9F7EF6 #DB7EF6 #F67ED5
triadic
#DB7EF6 #F6DB7E #7EF6DB
tetradic
#DB7EF6 #F69F7E #99F67E #7ED5F6
square
#DB7EF6 #F69F7E #99F67E #7ED5F6
split-complementary
#DB7EF6 #D5F67E #7EF69F
monochromatic
#B810E9 #CB45F2 #DB7EF6 #EBB7FA #F7E2FD

Accessibility & contrast

On white

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

On black

8.33
#DB7EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EF6
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EF6#FFFFFF#000000##000000
##DB7EF61.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#84A6F3
Tritanopia (blue-blind)
#DB8FAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7ef6;
/* rgb */ color: rgb(219, 126, 246);
/* oklch */ color: oklch(73.8% 0.190 318.3);
Tailwind
colors: {
  custom: {
    50: '#e8a6f9',
    500: '#db7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #db7ef6;
$custom-light: #e8a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ef6",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 286.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73819,
    "c": 0.18983,
    "h": 318.3
  },
  "luminance": 0.36636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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