#DB4FE7#DB4FE7

#DB4FE7 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.3% C 0.243 H 324.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#DB4FE7
RGBrgb(219, 79, 231)
HSLhsl(295, 76%, 61%)
HSVhsv(295, 66%, 91%)
CMYKcmyk(5.2%, 65.8%, 0%, 9.4%)
CIE-LABlab(58.44, 72.94, -50.80)
CIE-LCHlch(58.44, 88.88, 325.14°)
OKLaboklab(67.32% 0.198 -0.1412)
OKLCHoklch(67.32% 0.243 324.5)
XYZxyz(46.4320, 26.4243, 78.2406)
Luminance0.2642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4FE7 #5BE74F
analogous
#8F4FE7 #DB4FE7 #E74FA7
triadic
#DB4FE7 #E7DB4F #4FE7DB
tetradic
#DB4FE7 #E78F4F #5BE74F #4FA7E7
square
#DB4FE7 #E78F4F #5BE74F #4FA7E7
split-complementary
#DB4FE7 #A7E74F #4FE78F
monochromatic
#9A17A5 #CC1EDB #DB4FE7 #E685EE #F1BBF6

Accessibility & contrast

On white

3.34
#DB4FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#DB4FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4FE7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4FE7#FFFFFF#000000##000000
##DB4FE71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EB
Deuteranopia (green-blind)
#6A92E3
Tritanopia (blue-blind)
#DF6795
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #db4fe7;
/* rgb */ color: rgb(219, 79, 231);
/* oklch */ color: oklch(67.3% 0.243 324.5);
Tailwind
colors: {
  custom: {
    50: '#ea8bef',
    500: '#db4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #db4fe7;
$custom-light: #ea8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#db4fe7",
  "rgb": {
    "r": 219,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 295.263,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67315,
    "c": 0.24318,
    "h": 324.5
  },
  "luminance": 0.26422
}

Semantic roles & 50–950 ramp

primary
#DB4FE7
secondary
#B1E6AC
accent
#D80D1D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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