#DB7EF3#DB7EF3

#DB7EF3 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.7% C 0.187 H 319.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#DB7EF3
RGBrgb(219, 126, 243)
HSLhsl(288, 83%, 72%)
HSVhsv(288, 48%, 95%)
CMYKcmyk(9.9%, 48.1%, 0%, 4.7%)
CIE-LABlab(66.87, 53.97, -44.15)
CIE-LCHlch(66.87, 69.73, 320.72°)
OKLaboklab(73.67% 0.1413 -0.1222)
OKLCHoklch(73.67% 0.187 319.1)
XYZxyz(52.8498, 36.4548, 89.0292)
Luminance0.3645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EF3 #96F37E
analogous
#A07EF3 #DB7EF3 #F37ED1
triadic
#DB7EF3 #F3DB7E #7EF3DB
tetradic
#DB7EF3 #F3A07E #96F37E #7ED1F3
square
#DB7EF3 #F3A07E #96F37E #7ED1F3
split-complementary
#DB7EF3 #D1F37E #7EF3A0
monochromatic
#B815E2 #CB46EE #DB7EF3 #EBB6F8 #F7E3FC

Accessibility & contrast

On white

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

On black

8.29
#DB7EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EF3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EF3#FFFFFF#000000##000000
##DB7EF31.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF7
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#DC8EAD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7ef3;
/* rgb */ color: rgb(219, 126, 243);
/* oklch */ color: oklch(73.7% 0.187 319.1);
Tailwind
colors: {
  custom: {
    50: '#e8a6f7',
    500: '#db7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #db7ef3;
$custom-light: #e8a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ef3",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 287.692,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73671,
    "c": 0.1868,
    "h": 319.1
  },
  "luminance": 0.36453
}

Semantic roles & 50–950 ramp

primary
#DB7EF3
secondary
#DDF4D7
accent
#DF0633
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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