#DB7EEF#DB7EEF

#DB7EEF is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.5% C 0.183 H 320.3°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#DB7EEF
RGBrgb(219, 126, 239)
HSLhsl(289, 78%, 72%)
HSVhsv(289, 47%, 94%)
CMYKcmyk(8.4%, 47.3%, 0%, 6.3%)
CIE-LABlab(66.68, 53.20, -42.23)
CIE-LCHlch(66.68, 67.92, 321.56°)
OKLaboklab(73.48% 0.1407 -0.1167)
OKLCHoklch(73.48% 0.183 320.3)
XYZxyz(52.2524, 36.2158, 85.8825)
Luminance0.3621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EEF #92EF7E
analogous
#A37EEF #DB7EEF #EF7ECA
triadic
#DB7EEF #EFDB7E #7EEFDB
tetradic
#DB7EEF #EFA37E #92EF7E #7ECAEF
square
#DB7EEF #EFA37E #92EF7E #7ECAEF
split-complementary
#DB7EEF #CAEF7E #7EEFA3
monochromatic
#B61BD8 #CC48E8 #DB7EEF #EAB4F6 #F7E4FC

Accessibility & contrast

On white

2.55
#DB7EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#DB7EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EEF
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EEF#FFFFFF#000000##000000
##DB7EEF1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#DC8DAC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7eef;
/* rgb */ color: rgb(219, 126, 239);
/* oklch */ color: oklch(73.5% 0.183 320.3);
Tailwind
colors: {
  custom: {
    50: '#e8a6f4',
    500: '#db7eef',
    950: '#000000',
  },
}
SCSS
$custom: #db7eef;
$custom-light: #e8a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db7eef",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 289.381,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73477,
    "c": 0.1828,
    "h": 320.3
  },
  "luminance": 0.36214
}

Semantic roles & 50–950 ramp

primary
#DB7EEF
secondary
#DBF3D6
accent
#DA0B30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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