#DB7AF7#DB7AF7

#DB7AF7 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.3% C 0.197 H 318.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#DB7AF7
RGBrgb(219, 122, 247)
HSLhsl(287, 89%, 72%)
HSVhsv(287, 51%, 97%)
CMYKcmyk(11.3%, 50.6%, 0%, 3.1%)
CIE-LABlab(66.29, 56.75, -47.26)
CIE-LCHlch(66.29, 73.85, 320.22°)
OKLaboklab(73.3% 0.1471 -0.1312)
OKLCHoklch(73.3% 0.197 318.3)
XYZxyz(52.9592, 35.6964, 92.0781)
Luminance0.3569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AF7 #96F77A
analogous
#9D7AF7 #DB7AF7 #F77AD4
triadic
#DB7AF7 #F7DB7A #7AF7DB
tetradic
#DB7AF7 #F79D7A #96F77A #7AD4F7
square
#DB7AF7 #F79D7A #96F77A #7AD4F7
split-complementary
#DB7AF7 #D4F77A #7AF79D
monochromatic
#B80EE9 #CB40F4 #DB7AF7 #EBB4FA #F7E2FD

Accessibility & contrast

On white

2.58
#DB7AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#DB7AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AF7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AF7#FFFFFF#000000##000000
##DB7AF71.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#80A4F4
Tritanopia (blue-blind)
#DB8CAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7af7;
/* rgb */ color: rgb(219, 122, 247);
/* oklch */ color: oklch(73.3% 0.197 318.3);
Tailwind
colors: {
  custom: {
    50: '#e8a4fa',
    500: '#db7af7',
    950: '#000000',
  },
}
SCSS
$custom: #db7af7;
$custom-light: #e8a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#db7af7",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 286.56,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73304,
    "c": 0.19711,
    "h": 318.3
  },
  "luminance": 0.35695
}

Semantic roles & 50–950 ramp

primary
#DB7AF7
secondary
#DDF5D6
accent
#E50034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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