#DB7FF7#DB7FF7

#DB7FF7 is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.0% C 0.189 H 317.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#DB7FF7
RGBrgb(219, 127, 247)
HSLhsl(286, 88%, 73%)
HSVhsv(286, 49%, 97%)
CMYKcmyk(11.3%, 48.6%, 0%, 3.1%)
CIE-LABlab(67.24, 54.25, -45.75)
CIE-LCHlch(67.24, 70.97, 319.86°)
OKLaboklab(74.01% 0.1404 -0.1269)
OKLCHoklch(74.01% 0.189 317.9)
XYZxyz(53.5890, 36.9560, 92.2880)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FF7 #9BF77F
analogous
#9F7FF7 #DB7FF7 #F77FD7
triadic
#DB7FF7 #F7DB7F #7FF7DB
tetradic
#DB7FF7 #F79F7F #9BF77F #7FD7F7
square
#DB7FF7 #F79F7F #9BF77F #7FD7F7
split-complementary
#DB7FF7 #D7F77F #7FF79F
monochromatic
#B90FED #CB45F3 #DB7FF7 #EBB9FB #F7E2FD

Accessibility & contrast

On white

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

On black

8.39
#DB7FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FF7
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FF7#FFFFFF#000000##000000
##DB7FF71.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#DB90B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7ff7;
/* rgb */ color: rgb(219, 127, 247);
/* oklch */ color: oklch(74.0% 0.189 317.9);
Tailwind
colors: {
  custom: {
    50: '#e8a7fa',
    500: '#db7ff7',
    950: '#000000',
  },
}
SCSS
$custom: #db7ff7;
$custom-light: #e8a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ff7",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 286,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74011,
    "c": 0.18925,
    "h": 317.9
  },
  "luminance": 0.36954
}

Semantic roles & 50–950 ramp

primary
#DB7FF7
secondary
#DDF5D6
accent
#E50136
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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