#DB7FF5#DB7FF5

#DB7FF5 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.9% C 0.187 H 318.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#DB7FF5
RGBrgb(219, 127, 245)
HSLhsl(287, 86%, 73%)
HSVhsv(287, 48%, 96%)
CMYKcmyk(10.6%, 48.2%, 0%, 3.9%)
CIE-LABlab(67.15, 53.86, -44.80)
CIE-LCHlch(67.15, 70.05, 320.25°)
OKLaboklab(73.91% 0.1402 -0.1241)
OKLCHoklch(73.91% 0.187 318.5)
XYZxyz(53.2820, 36.8333, 90.6713)
Luminance0.3683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FF5 #99F57F
analogous
#A07FF5 #DB7FF5 #F57FD4
triadic
#DB7FF5 #F5DB7F #7FF5DB
tetradic
#DB7FF5 #F5A07F #99F57F #7FD4F5
square
#DB7FF5 #F5A07F #99F57F #7FD4F5
split-complementary
#DB7FF5 #D4F57F #7FF5A0
monochromatic
#B812E8 #CB46F1 #DB7FF5 #EBB8F9 #F7E3FD

Accessibility & contrast

On white

2.51
#DB7FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#DB7FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FF5
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FF5#FFFFFF#000000##000000
##DB7FF51.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF9
Deuteranopia (green-blind)
#85A7F2
Tritanopia (blue-blind)
#DB8FAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7ff5;
/* rgb */ color: rgb(219, 127, 245);
/* oklch */ color: oklch(73.9% 0.187 318.5);
Tailwind
colors: {
  custom: {
    50: '#e8a7f9',
    500: '#db7ff5',
    950: '#000000',
  },
}
SCSS
$custom: #db7ff5;
$custom-light: #e8a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ff5",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 286.78,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73913,
    "c": 0.18722,
    "h": 318.5
  },
  "luminance": 0.36831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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