#DB5DFD#DB5DFD

#DB5DFD is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 70.0% C 0.244 H 318.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#DB5DFD
RGBrgb(219, 93, 253)
HSLhsl(287, 98%, 68%)
HSVhsv(287, 63%, 99%)
CMYKcmyk(13.4%, 63.2%, 0%, 0.8%)
CIE-LABlab(61.64, 71.26, -57.93)
CIE-LCHlch(61.64, 91.84, 320.89°)
OKLaboklab(70.01% 0.1829 -0.1621)
OKLCHoklch(70.01% 0.244 318.4)
XYZxyz(50.8550, 29.9828, 96.0179)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5DFD #7FFD5D
analogous
#8B5DFD #DB5DFD #FD5DCF
triadic
#DB5DFD #FDDB5D #5DFDDB
tetradic
#DB5DFD #FD8B5D #7FFD5D #5DCFFD
square
#DB5DFD #FD8B5D #7FFD5D #5DCFFD
split-complementary
#DB5DFD #CFFD5D #5DFD8B
monochromatic
#AF03DD #CE21FC #DB5DFD #E899FE #F6D6FE

Accessibility & contrast

On white

3.00
#DB5DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#DB5DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB5DFD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5DFD#FFFFFF#000000##000000
##DB5DFD1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#298DFF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#DB79A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #db5dfd;
/* rgb */ color: rgb(219, 93, 253);
/* oklch */ color: oklch(70.0% 0.244 318.4);
Tailwind
colors: {
  custom: {
    50: '#ea93ff',
    500: '#db5dfd',
    950: '#000000',
  },
}
SCSS
$custom: #db5dfd;
$custom-light: #ea93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db5dfd",
  "rgb": {
    "r": 219,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 287.25,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70007,
    "c": 0.24435,
    "h": 318.4
  },
  "luminance": 0.29981
}

Semantic roles & 50–950 ramp

primary
#DB5DFD
secondary
#CDF4C2
accent
#E60031
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DB5DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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