#DB7DEF#DB7DEF

#DB7DEF is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.3% C 0.184 H 320.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#DB7DEF
RGBrgb(219, 125, 239)
HSLhsl(289, 78%, 71%)
HSVhsv(289, 48%, 94%)
CMYKcmyk(8.4%, 47.7%, 0%, 6.3%)
CIE-LABlab(66.49, 53.70, -42.53)
CIE-LCHlch(66.49, 68.51, 321.62°)
OKLaboklab(73.33% 0.1421 -0.1176)
OKLCHoklch(73.33% 0.184 320.4)
XYZxyz(52.1251, 35.9613, 85.8401)
Luminance0.3596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7DEF #91EF7D
analogous
#A27DEF #DB7DEF #EF7DCA
triadic
#DB7DEF #EFDB7D #7DEFDB
tetradic
#DB7DEF #EFA27D #91EF7D #7DCAEF
square
#DB7DEF #EFA27D #91EF7D #7DCAEF
split-complementary
#DB7DEF #CAEF7D #7DEFA2
monochromatic
#B61AD7 #CC47E8 #DB7DEF #EAB3F6 #F7E4FC

Accessibility & contrast

On white

2.56
#DB7DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#DB7DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7DEF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7DEF#FFFFFF#000000##000000
##DB7DEF1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#DC8CAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7def;
/* rgb */ color: rgb(219, 125, 239);
/* oklch */ color: oklch(73.3% 0.184 320.4);
Tailwind
colors: {
  custom: {
    50: '#e8a5f4',
    500: '#db7def',
    950: '#000000',
  },
}
SCSS
$custom: #db7def;
$custom-light: #e8a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db7def",
  "rgb": {
    "r": 219,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 289.474,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73333,
    "c": 0.1844,
    "h": 320.4
  },
  "luminance": 0.35959
}

Semantic roles & 50–950 ramp

primary
#DB7DEF
secondary
#DAF3D5
accent
#DA0B30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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