#DB5DF8#DB5DF8

#DB5DF8 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.7% C 0.240 H 319.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#DB5DF8
RGBrgb(219, 93, 248)
HSLhsl(289, 92%, 67%)
HSVhsv(289, 63%, 97%)
CMYKcmyk(11.7%, 62.5%, 0%, 2.7%)
CIE-LABlab(61.37, 70.33, -55.60)
CIE-LCHlch(61.37, 89.66, 321.67°)
OKLaboklab(69.72% 0.1829 -0.1553)
OKLCHoklch(69.72% 0.24 319.7)
XYZxyz(50.0689, 29.6684, 91.8780)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5DF8 #7AF85D
analogous
#8E5DF8 #DB5DF8 #F85DC8
triadic
#DB5DF8 #F8DB5D #5DF8DB
tetradic
#DB5DF8 #F88E5D #7AF85D #5DC8F8
square
#DB5DF8 #F88E5D #7AF85D #5DC8F8
split-complementary
#DB5DF8 #C8F85D #5DF88E
monochromatic
#AC09D2 #CE22F5 #DB5DF8 #E898FB #F5D2FD

Accessibility & contrast

On white

3.03
#DB5DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#DB5DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5DF8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5DF8#FFFFFF#000000##000000
##DB5DF81.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#318CFD
Deuteranopia (green-blind)
#6999F4
Tritanopia (blue-blind)
#DC77A3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #db5df8;
/* rgb */ color: rgb(219, 93, 248);
/* oklch */ color: oklch(69.7% 0.240 319.7);
Tailwind
colors: {
  custom: {
    50: '#ea92fb',
    500: '#db5df8',
    950: '#000000',
  },
}
SCSS
$custom: #db5df8;
$custom-light: #ea92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db5df8",
  "rgb": {
    "r": 219,
    "g": 93,
    "b": 248
  },
  "hsl": {
    "h": 288.774,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69723,
    "c": 0.2399,
    "h": 319.7
  },
  "luminance": 0.29666
}

Semantic roles & 50–950 ramp

primary
#DB5DF8
secondary
#C9F1C0
accent
#E6002B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DB5DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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