#DB7EFF#DB7EFF

#DB7EFF is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.3% C 0.199 H 315.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#DB7EFF
RGBrgb(219, 126, 255)
HSLhsl(283, 100%, 75%)
HSVhsv(283, 51%, 100%)
CMYKcmyk(14.1%, 50.6%, 0%, 0%)
CIE-LABlab(67.43, 56.34, -49.84)
CIE-LCHlch(67.43, 75.22, 318.51°)
OKLaboklab(74.27% 0.1427 -0.1387)
OKLCHoklch(74.27% 0.199 315.8)
XYZxyz(54.7215, 37.2034, 98.8868)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EFF #A2FF7E
analogous
#9B7EFF #DB7EFF #FF7EE2
triadic
#DB7EFF #FFDB7E #7EFFDB
tetradic
#DB7EFF #FF9B7E #A2FF7E #7EE2FF
square
#DB7EFF #FF9B7E #A2FF7E #7EE2FF
split-complementary
#DB7EFF #E2FF7E #7EFF9B
monochromatic
#B904FF #CA41FF #DB7EFF #ECBBFF #F6E0FF

Accessibility & contrast

On white

2.49
#DB7EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#DB7EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EFF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EFF#FFFFFF#000000##000000
##DB7EFF1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629FFF
Deuteranopia (green-blind)
#7FA7FC
Tritanopia (blue-blind)
#D992B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7eff;
/* rgb */ color: rgb(219, 126, 255);
/* oklch */ color: oklch(74.3% 0.199 315.8);
Tailwind
colors: {
  custom: {
    50: '#e8a6ff',
    500: '#db7eff',
    950: '#000000',
  },
}
SCSS
$custom: #db7eff;
$custom-light: #e8a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db7eff",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 283.256,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74272,
    "c": 0.19899,
    "h": 315.8
  },
  "luminance": 0.37202
}

Semantic roles & 50–950 ramp

primary
#DB7EFF
secondary
#DEF7D4
accent
#E60040
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB7EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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