#DB7FF8#DB7FF8

#DB7FF8 is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.1% C 0.190 H 317.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#DB7FF8
RGBrgb(219, 127, 248)
HSLhsl(286, 90%, 74%)
HSVhsv(286, 49%, 97%)
CMYKcmyk(11.7%, 48.8%, 0%, 2.7%)
CIE-LABlab(67.29, 54.45, -46.23)
CIE-LCHlch(67.29, 71.42, 319.67°)
OKLaboklab(74.06% 0.1406 -0.1282)
OKLCHoklch(74.06% 0.19 317.6)
XYZxyz(53.7437, 37.0179, 93.1029)
Luminance0.3702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FF8 #9CF87F
analogous
#9E7FF8 #DB7FF8 #F87FD8
triadic
#DB7FF8 #F8DB7F #7FF8DB
tetradic
#DB7FF8 #F89E7F #9CF87F #7FD8F8
square
#DB7FF8 #F89E7F #9CF87F #7FD8F8
split-complementary
#DB7FF8 #D8F87F #7FF89E
monochromatic
#B90DF0 #CB45F5 #DB7FF8 #EBB9FB #F7E2FD

Accessibility & contrast

On white

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

On black

8.40
#DB7FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FF8
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FF8#FFFFFF#000000##000000
##DB7FF81.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFC
Deuteranopia (green-blind)
#84A7F5
Tritanopia (blue-blind)
#DB90B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7ff8;
/* rgb */ color: rgb(219, 127, 248);
/* oklch */ color: oklch(74.1% 0.190 317.6);
Tailwind
colors: {
  custom: {
    50: '#e8a7fb',
    500: '#db7ff8',
    950: '#000000',
  },
}
SCSS
$custom: #db7ff8;
$custom-light: #e8a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ff8",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 285.62,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74061,
    "c": 0.19027,
    "h": 317.6
  },
  "luminance": 0.37016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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