#DB7FEF#DB7FEF

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

Color values

HEX#DB7FEF
RGBrgb(219, 127, 239)
HSLhsl(289, 78%, 72%)
HSVhsv(289, 47%, 94%)
CMYKcmyk(8.4%, 46.9%, 0%, 6.3%)
CIE-LABlab(66.88, 52.70, -41.92)
CIE-LCHlch(66.88, 67.34, 321.49°)
OKLaboklab(73.62% 0.1393 -0.1158)
OKLCHoklch(73.62% 0.181 320.3)
XYZxyz(52.3809, 36.4728, 85.9254)
Luminance0.3647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FEF #93EF7F
analogous
#A37FEF #DB7FEF #EF7FCB
triadic
#DB7FEF #EFDB7F #7FEFDB
tetradic
#DB7FEF #EFA37F #93EF7F #7FCBEF
square
#DB7FEF #EFA37F #93EF7F #7FCBEF
split-complementary
#DB7FEF #CBEF7F #7FEFA3
monochromatic
#B71BD9 #CC49E8 #DB7FEF #EAB5F6 #F7E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB7FEF#FFFFFF#000000##000000
##DB7FEF1.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)
#6E9CF3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#DC8EAC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7fef;
/* rgb */ color: rgb(219, 127, 239);
/* oklch */ color: oklch(73.6% 0.181 320.3);
Tailwind
colors: {
  custom: {
    50: '#e8a7f4',
    500: '#db7fef',
    950: '#000000',
  },
}
SCSS
$custom: #db7fef;
$custom-light: #e8a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fef",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 289.286,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73622,
    "c": 0.18118,
    "h": 320.3
  },
  "luminance": 0.36471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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