#DB7AFF#DB7AFF

#DB7AFF is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 73.7% C 0.205 H 316.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#DB7AFF
RGBrgb(219, 122, 255)
HSLhsl(284, 100%, 74%)
HSVhsv(284, 52%, 100%)
CMYKcmyk(14.1%, 52.2%, 0%, 0%)
CIE-LABlab(66.67, 58.33, -51.03)
CIE-LCHlch(66.67, 77.50, 318.82°)
OKLaboklab(73.71% 0.1479 -0.1421)
OKLCHoklch(73.71% 0.205 316.1)
XYZxyz(54.2202, 36.2009, 98.7197)
Luminance0.3620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AFF #9EFF7A
analogous
#997AFF #DB7AFF #FF7AE1
triadic
#DB7AFF #FFDB7A #7AFFDB
tetradic
#DB7AFF #FF997A #9EFF7A #7AE1FF
square
#DB7AFF #FF997A #9EFF7A #7AE1FF
split-complementary
#DB7AFF #E1FF7A #7AFF99
monochromatic
#BA00FF #CA3DFF #DB7AFF #ECB7FF #F7E0FF

Accessibility & contrast

On white

2.55
#DB7AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#DB7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AFF
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AFF#FFFFFF#000000##000000
##DB7AFF1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#7BA5FB
Tritanopia (blue-blind)
#D98FB1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7aff;
/* rgb */ color: rgb(219, 122, 255);
/* oklch */ color: oklch(73.7% 0.205 316.1);
Tailwind
colors: {
  custom: {
    50: '#e9a4ff',
    500: '#db7aff',
    950: '#000000',
  },
}
SCSS
$custom: #db7aff;
$custom-light: #e9a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db7aff",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 283.759,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73714,
    "c": 0.20514,
    "h": 316.1
  },
  "luminance": 0.36199
}

Semantic roles & 50–950 ramp

primary
#DB7AFF
secondary
#DDF7D4
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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