#DB7FFD#DB7FFD

#DB7FFD is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.3% C 0.195 H 316.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#DB7FFD
RGBrgb(219, 127, 253)
HSLhsl(284, 97%, 75%)
HSVhsv(284, 50%, 99%)
CMYKcmyk(13.4%, 49.8%, 0%, 0.8%)
CIE-LABlab(67.53, 55.44, -48.59)
CIE-LCHlch(67.53, 73.72, 318.77°)
OKLaboklab(74.31% 0.1412 -0.1351)
OKLCHoklch(74.31% 0.195 316.3)
XYZxyz(54.5298, 37.3324, 97.2429)
Luminance0.3733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FFD #A1FD7F
analogous
#9C7FFD #DB7FFD #FD7FE0
triadic
#DB7FFD #FDDB7F #7FFDDB
tetradic
#DB7FFD #FD9C7F #A1FD7F #7FE0FD
square
#DB7FFD #FD9C7F #A1FD7F #7FE0FD
split-complementary
#DB7FFD #E0FD7F #7FFD9C
monochromatic
#B906FB #CA43FC #DB7FFD #ECBBFE #F7E1FF

Accessibility & contrast

On white

2.48
#DB7FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#DB7FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FFD
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FFD#FFFFFF#000000##000000
##DB7FFD1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#81A7FA
Tritanopia (blue-blind)
#DA92B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7ffd;
/* rgb */ color: rgb(219, 127, 253);
/* oklch */ color: oklch(74.3% 0.195 316.3);
Tailwind
colors: {
  custom: {
    50: '#e8a7fe',
    500: '#db7ffd',
    950: '#000000',
  },
}
SCSS
$custom: #db7ffd;
$custom-light: #e8a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ffd",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 283.81,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74312,
    "c": 0.19539,
    "h": 316.3
  },
  "luminance": 0.37331
}

Semantic roles & 50–950 ramp

primary
#DB7FFD
secondary
#DEF7D4
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB7FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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