#DB7FF9#DB7FF9

#DB7FF9 is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.1% C 0.191 H 317.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#DB7FF9
RGBrgb(219, 127, 249)
HSLhsl(285, 91%, 74%)
HSVhsv(285, 49%, 98%)
CMYKcmyk(12%, 49%, 0%, 2.4%)
CIE-LABlab(67.34, 54.65, -46.70)
CIE-LCHlch(67.34, 71.88, 319.48°)
OKLaboklab(74.11% 0.1407 -0.1296)
OKLCHoklch(74.11% 0.191 317.3)
XYZxyz(53.8992, 37.0801, 93.9221)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FF9 #9DF97F
analogous
#9E7FF9 #DB7FF9 #F97FDA
triadic
#DB7FF9 #F9DB7F #7FF9DB
tetradic
#DB7FF9 #F99E7F #9DF97F #7FDAF9
square
#DB7FF9 #F99E7F #9DF97F #7FDAF9
split-complementary
#DB7FF9 #DAF97F #7FF99E
monochromatic
#B90BF2 #CB45F6 #DB7FF9 #EBB9FC #F7E2FE

Accessibility & contrast

On white

2.50
#DB7FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#DB7FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FF9
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FF9#FFFFFF#000000##000000
##DB7FF91.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#83A7F6
Tritanopia (blue-blind)
#DA91B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7ff9;
/* rgb */ color: rgb(219, 127, 249);
/* oklch */ color: oklch(74.1% 0.191 317.3);
Tailwind
colors: {
  custom: {
    50: '#e8a7fc',
    500: '#db7ff9',
    950: '#000000',
  },
}
SCSS
$custom: #db7ff9;
$custom-light: #e8a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ff9",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 285.246,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74111,
    "c": 0.19129,
    "h": 317.3
  },
  "luminance": 0.37078
}

Semantic roles & 50–950 ramp

primary
#DB7FF9
secondary
#DDF6D5
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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