#DB7EF5#DB7EF5

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

Color values

HEX#DB7EF5
RGBrgb(219, 126, 245)
HSLhsl(287, 86%, 73%)
HSVhsv(287, 49%, 96%)
CMYKcmyk(10.6%, 48.6%, 0%, 3.9%)
CIE-LABlab(66.96, 54.36, -45.10)
CIE-LCHlch(66.96, 70.64, 320.32°)
OKLaboklab(73.77% 0.1415 -0.125)
OKLCHoklch(73.77% 0.189 318.5)
XYZxyz(53.1535, 36.5762, 90.6285)
Luminance0.3657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EF5 #98F57E
analogous
#9F7EF5 #DB7EF5 #F57ED3
triadic
#DB7EF5 #F5DB7E #7EF5DB
tetradic
#DB7EF5 #F59F7E #98F57E #7ED3F5
square
#DB7EF5 #F59F7E #98F57E #7ED3F5
split-complementary
#DB7EF5 #D3F57E #7EF59F
monochromatic
#B812E7 #CB45F1 #DB7EF5 #EBB7F9 #F7E3FD

Accessibility & contrast

On white

2.53
#DB7EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#DB7EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EF5
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EF5#FFFFFF#000000##000000
##DB7EF51.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF9
Deuteranopia (green-blind)
#84A6F2
Tritanopia (blue-blind)
#DB8FAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7ef5;
/* rgb */ color: rgb(219, 126, 245);
/* oklch */ color: oklch(73.8% 0.189 318.5);
Tailwind
colors: {
  custom: {
    50: '#e8a6f9',
    500: '#db7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #db7ef5;
$custom-light: #e8a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ef5",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 286.891,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73769,
    "c": 0.18881,
    "h": 318.5
  },
  "luminance": 0.36574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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