#DB7AF2#DB7AF2

#DB7AF2 is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.1% C 0.192 H 319.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#DB7AF2
RGBrgb(219, 122, 242)
HSLhsl(289, 82%, 71%)
HSVhsv(289, 50%, 95%)
CMYKcmyk(9.5%, 49.6%, 0%, 5.1%)
CIE-LABlab(66.05, 55.78, -44.87)
CIE-LCHlch(66.05, 71.59, 321.18°)
OKLaboklab(73.05% 0.1465 -0.1243)
OKLCHoklch(73.05% 0.192 319.7)
XYZxyz(52.1979, 35.3920, 88.0690)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AF2 #91F27A
analogous
#9F7AF2 #DB7AF2 #F27ACD
triadic
#DB7AF2 #F2DB7A #7AF2DB
tetradic
#DB7AF2 #F29F7A #91F27A #7ACDF2
square
#DB7AF2 #F29F7A #91F27A #7ACDF2
split-complementary
#DB7AF2 #CDF27A #7AF29F
monochromatic
#B616DC #CC42ED #DB7AF2 #EAB2F7 #F7E3FC

Accessibility & contrast

On white

2.60
#DB7AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#DB7AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AF2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AF2#FFFFFF#000000##000000
##DB7AF21.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF6
Deuteranopia (green-blind)
#83A4EF
Tritanopia (blue-blind)
#DC8BAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7af2;
/* rgb */ color: rgb(219, 122, 242);
/* oklch */ color: oklch(73.1% 0.192 319.7);
Tailwind
colors: {
  custom: {
    50: '#e8a4f7',
    500: '#db7af2',
    950: '#000000',
  },
}
SCSS
$custom: #db7af2;
$custom-light: #e8a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db7af2",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 288.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73054,
    "c": 0.19215,
    "h": 319.7
  },
  "luminance": 0.3539
}

Semantic roles & 50–950 ramp

primary
#DB7AF2
secondary
#DAF3D4
accent
#DF0730
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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